git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
daemon/gnulib: Include glob module.
[libguestfs.git]
/
daemon
/
dir.c
diff --git
a/daemon/dir.c
b/daemon/dir.c
index
b603cfd
..
a5076b1
100644
(file)
--- a/
daemon/dir.c
+++ b/
daemon/dir.c
@@
-56,7
+56,7
@@
do_rm_rf (const char *path)
int r;
char *buf, *err;
- if (
strcmp (path, "/") == 0
) {
+ if (
STREQ (path, "/")
) {
reply_with_error ("rm -rf: cannot remove root directory");
return -1;
}