aboutsummaryrefslogtreecommitdiff
path: root/coreutils/rmdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/rmdir.c')
-rw-r--r--coreutils/rmdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/rmdir.c b/coreutils/rmdir.c
index a10e5bb4f..1d6b2cadb 100644
--- a/coreutils/rmdir.c
+++ b/coreutils/rmdir.c
@@ -59,7 +59,7 @@ extern int rmdir_main(int argc, char **argv)
59 /* Path is now just the parent component. Note that dirname 59 /* Path is now just the parent component. Note that dirname
60 * returns "." if there are no parents. We must distinguish 60 * returns "." if there are no parents. We must distinguish
61 * this from the case of the original path starting with '.'. 61 * this from the case of the original path starting with '.'.
62 */ 62 */
63 if (do_dot || (*path != '.') || path[1]) { 63 if (do_dot || (*path != '.') || path[1]) {
64 continue; 64 continue;
65 } 65 }