summaryrefslogtreecommitdiffstats
path: root/daemon/grep.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/grep.c')
-rw-r--r--daemon/grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/grep.c b/daemon/grep.c
index c51dc0b8..19e4683d 100644
--- a/daemon/grep.c
+++ b/daemon/grep.c
@@ -36,7 +36,7 @@ grep (const char *prog, const char *flag, char *regex, char *path)
char **lines;
NEED_ROOT (NULL);
- ABS_PATH (path, NULL);
+ ABS_PATH (path, return NULL);
/* Make the path relative to /sysroot. */
buf = sysroot_path (path);