aboutsummaryrefslogtreecommitdiff
path: root/coreutils/rm.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/rm.c')
-rw-r--r--coreutils/rm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/rm.c b/coreutils/rm.c
index 490694a6e..5df7d5f65 100644
--- a/coreutils/rm.c
+++ b/coreutils/rm.c
@@ -38,7 +38,7 @@ int rm_main(int argc, char **argv)
38 const char *base = bb_get_last_path_component(*argv); 38 const char *base = bb_get_last_path_component(*argv);
39 39
40 if ((base[0] == '.') && (!base[1] || ((base[1] == '.') && !base[2]))) { 40 if ((base[0] == '.') && (!base[1] || ((base[1] == '.') && !base[2]))) {
41 bb_error_msg("cannot remove `.' or `..'"); 41 bb_error_msg("cannot remove '.' or '..'");
42 } else if (remove_file(*argv, flags) >= 0) { 42 } else if (remove_file(*argv, flags) >= 0) {
43 continue; 43 continue;
44 } 44 }