summaryrefslogtreecommitdiff
path: root/libexec/mail.local/mail.local.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-03-28 02:16:41 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-03-28 02:16:41 +0000
commit093882065a2d973b90c78067f82ad93813dec744 (patch)
treedaaec80e9653265b1c5ac158852ff18032c299ef /libexec/mail.local/mail.local.c
parenta8c008dcc490e7ba14d7eaf4e14bef396c8fbb3b (diff)
"mail.local -H" is valid usage.
Diffstat (limited to 'libexec/mail.local/mail.local.c')
-rw-r--r--libexec/mail.local/mail.local.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/mail.local/mail.local.c b/libexec/mail.local/mail.local.c
index 7ee9de33b81..fb98d49b638 100644
--- a/libexec/mail.local/mail.local.c
+++ b/libexec/mail.local/mail.local.c
@@ -39,7 +39,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)mail.local.c 5.6 (Berkeley) 6/19/91";*/
-static char rcsid[] = "$Id: mail.local.c,v 1.12 1997/02/12 15:12:27 deraadt Exp $";
+static char rcsid[] = "$Id: mail.local.c,v 1.13 1997/03/28 02:16:40 millert Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -112,7 +112,7 @@ main(argc, argv)
argc -= optind;
argv += optind;
- if (!*argv)
+ if (!*argv && !holdme)
usage();
if (holdme)