diff options
Diffstat (limited to 'coreutils/rm.c')
-rw-r--r-- | coreutils/rm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/rm.c b/coreutils/rm.c index 6b3fbcf25..3090cc323 100644 --- a/coreutils/rm.c +++ b/coreutils/rm.c | |||
@@ -42,7 +42,7 @@ int rm_main(int argc UNUSED_PARAM, char **argv) | |||
42 | const char *base = bb_get_last_path_component_strip(*argv); | 42 | const char *base = bb_get_last_path_component_strip(*argv); |
43 | 43 | ||
44 | if (DOT_OR_DOTDOT(base)) { | 44 | if (DOT_OR_DOTDOT(base)) { |
45 | bb_error_msg("cannot remove '.' or '..'"); | 45 | bb_error_msg("can't remove '.' or '..'"); |
46 | } else if (remove_file(*argv, flags) >= 0) { | 46 | } else if (remove_file(*argv, flags) >= 0) { |
47 | continue; | 47 | continue; |
48 | } | 48 | } |