summaryrefslogtreecommitdiffstats
path: root/daemon/glob.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/glob.c')
-rw-r--r--daemon/glob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/glob.c b/daemon/glob.c
index f15d5e50..1c47ba51 100644
--- a/daemon/glob.c
+++ b/daemon/glob.c
@@ -32,7 +32,7 @@ do_glob_expand (char *pattern)
glob_t buf;
NEED_ROOT (NULL);
- ABS_PATH (pattern, NULL); /* Required so chroot can be used. */
+ ABS_PATH (pattern, return NULL); /* Required so chroot can be used. */
/* glob(3) in glibc never calls chdir, so this seems to be safe: */
CHROOT_IN;