summaryrefslogtreecommitdiffstats
path: root/daemon/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/ls.c')
-rw-r--r--daemon/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/ls.c b/daemon/ls.c
index e2ca55f8..8ae150b4 100644
--- a/daemon/ls.c
+++ b/daemon/ls.c
@@ -38,7 +38,7 @@ do_ls (char *path)
struct dirent *d;
NEED_ROOT (NULL);
- ABS_PATH (path, NULL);
+ ABS_PATH (path, return NULL);
CHROOT_IN;
dir = opendir (path);