summaryrefslogtreecommitdiffstats
path: root/daemon/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/daemon.h')
-rw-r--r--daemon/daemon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/daemon.h b/daemon/daemon.h
index cbcab639..ee71fb6d 100644
--- a/daemon/daemon.h
+++ b/daemon/daemon.h
@@ -176,7 +176,7 @@ extern void reply (xdrproc_t xdrp, char *ret);
if (strncmp ((path), "/dev/", 5) == 0) \
RESOLVE_DEVICE ((path), fail_stmt); \
else { \
- NEED_ROOT (fail_stmt); \
+ NEED_ROOT (return fail_stmt); \
ABS_PATH ((path),fail_stmt); \
} \
} while (0)