git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update all NEED_ROOT uses
[libguestfs.git]
/
daemon
/
daemon.h
diff --git
a/daemon/daemon.h
b/daemon/daemon.h
index
cbcab63
..
ee71fb6
100644
(file)
--- 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)