diff options
| author | Tim J. Robbins <tjr@FreeBSD.org> | 2002-07-12 07:20:20 +0000 |
|---|---|---|
| committer | Tim J. Robbins <tjr@FreeBSD.org> | 2002-07-12 07:20:20 +0000 |
| commit | 90833c99de4bdef6b8446b1b3dbea61a86c56aa9 (patch) | |
| tree | 29a084a6dd93c0bece24fcf83df15d13667b3a11 /bin/rm | |
| parent | d11a56617de50d4b9b01027059e50933fe48b6cf (diff) | |
Notes
Diffstat (limited to 'bin/rm')
| -rw-r--r-- | bin/rm/rm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rm/rm.c b/bin/rm/rm.c index 4c79343869c1..eeb86f0c0beb 100644 --- a/bin/rm/rm.c +++ b/bin/rm/rm.c @@ -98,7 +98,7 @@ main(int argc, char *argv[]) usage(); argc -= optind; argv += optind; - if (argc == 0) + if (argc != 1) usage(); rm_file(&argv[0]); exit(eval); |
