diff --git a/rm/rm.c b/rm/rm.c index 9dccfdd..44cfd69 100644 --- a/rm/rm.c +++ b/rm/rm.c @@ -383,7 +383,7 @@ main(int argc, char **argv) argv[optind-1][2] != '\0')) optind++; #endif - if (optind >= argc) + if (optind >= argc && !fflag) usage(); ontty = isatty(0); if (rflag && (startfd = open(".", O_RDONLY)) < 0) {