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
/
glob.c
diff --git
a/daemon/glob.c
b/daemon/glob.c
index
1c47ba5
..
40b7c50
100644
(file)
--- a/
daemon/glob.c
+++ b/
daemon/glob.c
@@
-31,7
+31,7
@@
do_glob_expand (char *pattern)
int r;
glob_t buf;
- NEED_ROOT (NULL);
+ NEED_ROOT (
return
NULL);
ABS_PATH (pattern, return NULL); /* Required so chroot can be used. */
/* glob(3) in glibc never calls chdir, so this seems to be safe: */