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 fd94bb5c4..d000129d9 100644
--- a/coreutils/rm.c
+++ b/coreutils/rm.c
@@ -62,7 +62,7 @@ int rm_main(int argc UNUSED_PARAM, char **argv)
62 const char *base = bb_get_last_path_component_strip(*argv); 62 const char *base = bb_get_last_path_component_strip(*argv);
63 63
64 if (DOT_OR_DOTDOT(base)) { 64 if (DOT_OR_DOTDOT(base)) {
65 bb_error_msg("can't remove '.' or '..'"); 65 bb_simple_error_msg("can't remove '.' or '..'");
66 } else if (remove_file(*argv, flags) >= 0) { 66 } else if (remove_file(*argv, flags) >= 0) {
67 continue; 67 continue;
68 } 68 }