summaryrefslogtreecommitdiffstats
path: root/daemon/inotify.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/inotify.c')
-rw-r--r--daemon/inotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/inotify.c b/daemon/inotify.c
index 8bb8ed2b..2f22f52c 100644
--- a/daemon/inotify.c
+++ b/daemon/inotify.c
@@ -129,7 +129,7 @@ do_inotify_add_watch (char *path, int mask)
char *buf;
NEED_INOTIFY (-1);
- ABS_PATH (path, -1);
+ ABS_PATH (path, return -1);
buf = sysroot_path (path);
if (!buf) {