diff options
Diffstat (limited to 'coreutils')
-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 a3542aa..768e3ca 100644 --- a/coreutils/rm.c +++ b/coreutils/rm.c @@ -112,7 +112,7 @@ extern int rm_main(int argc, char **argv) } } - if ((argc-optind) < 1 && forceFlag == FALSE) { + if (argc == optind && forceFlag == FALSE) { show_usage(); } #ifdef BB_FEATURE_RM_INTERACTIVE |