diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-02-25 22:18:08 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-02-25 22:18:08 +0000 |
| commit | 0e8f2d6c1a836023ddd4e6f8d858c3a7fac6269d (patch) | |
| tree | 3ce8909f6eb30cba67d2f0eedd0ed130855ae93d /bin/rm | |
| parent | 26baedc5e479020e7e72a86b21a4042505e2975c (diff) | |
Notes
Diffstat (limited to 'bin/rm')
| -rw-r--r-- | bin/rm/rm.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/rm/rm.c b/bin/rm/rm.c index ea4ef0784741..e12bbdeae966 100644 --- a/bin/rm/rm.c +++ b/bin/rm/rm.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)rm.c 8.5 (Berkeley) 4/18/94"; #else static const char rcsid[] = - "$Id: rm.c,v 1.17 1997/08/07 15:37:47 steve Exp $"; + "$Id: rm.c,v 1.18 1997/08/07 21:37:39 steve Exp $"; #endif #endif /* not lint */ @@ -114,8 +114,11 @@ main(argc, argv) argc -= optind; argv += optind; - if (argc < 1) + if (argc < 1) { + if (fflag) + return 0; usage(); + } checkdot(argv); uid = geteuid(); |
