summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2009-04-01 17:08:02 +0000
committerStef Walter <stef@memberwebs.com>2009-04-01 17:08:02 +0000
commit44ab042d299c17b12dba0df9b9e42c932c17cf35 (patch)
tree6263ad36b89cf419a0480118190b4852af0d89eb
parentdec0031d9698da88bb9cb810749a88bc470a94ab (diff)
Return empty jail list when no jails running.
-rw-r--r--srcx/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/srcx/util.c b/srcx/util.c
index 4eeac50..8542b35 100644
--- a/srcx/util.c
+++ b/srcx/util.c
@@ -81,6 +81,7 @@ retry:
{
jls->data = NULL;
jls->last = NULL;
+ return;
}
jls->data = calloc(jls->length, 1);