summaryrefslogtreecommitdiffstats
path: root/daemon/realpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/realpath.c')
-rw-r--r--daemon/realpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/realpath.c b/daemon/realpath.c
index 9ab478d2..18adc85e 100644
--- a/daemon/realpath.c
+++ b/daemon/realpath.c
@@ -33,7 +33,7 @@ do_realpath (char *path)
char *ret;
NEED_ROOT (NULL);
- ABS_PATH (path, NULL);
+ ABS_PATH (path, return NULL);
CHROOT_IN;
ret = realpath (path, NULL);