X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Fgrep.c;fp=daemon%2Fgrep.c;h=f0dbefd12b6e135454e1807f1d00440f64dc9701;hp=19e4683dbd7dc88ec749303bf8a004387d133b94;hb=6bda071b5cd8393b37653687027c4ae6c6cf3804;hpb=0c07f0d23698798475e0d09491812aca52440328 diff --git a/daemon/grep.c b/daemon/grep.c index 19e4683..f0dbefd 100644 --- a/daemon/grep.c +++ b/daemon/grep.c @@ -35,7 +35,7 @@ grep (const char *prog, const char *flag, char *regex, char *path) int r; char **lines; - NEED_ROOT (NULL); + NEED_ROOT (return NULL); ABS_PATH (path, return NULL); /* Make the path relative to /sysroot. */