From: millert Date: Fri, 28 Mar 1997 02:16:40 +0000 (+0000) Subject: "mail.local -H" is valid usage. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=413f7a945a114fcb010d9ef70f1b88b6698545da;p=openbsd "mail.local -H" is valid usage. --- 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 @@ -112,7 +112,7 @@ main(argc, argv) argc -= optind; argv += optind; - if (!*argv) + if (!*argv && !holdme) usage(); if (holdme)