summaryrefslogtreecommitdiffstats
path: root/daemon/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/dir.c')
-rw-r--r--daemon/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/dir.c b/daemon/dir.c
index b603cfd0..a5076b19 100644
--- 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;
}