diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-05-10 16:09:07 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-05-10 16:09:07 +0000 |
commit | aaf0407dce8256a3e5a0f3a9013030f63c939edb (patch) | |
tree | ad79a76a46a80df367cef0f33cbb23323ca4901d /usr.sbin | |
parent | d0699c286fe91fb9d7e2d47ba0200e1c8f02a20b (diff) |
Do not always print banner page.
ok henning@ millert@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/lpr/lpr/lpr.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/lpr/lpr/lpr.c b/usr.sbin/lpr/lpr/lpr.c index 1379c3c841d..db9b7e16160 100644 --- a/usr.sbin/lpr/lpr/lpr.c +++ b/usr.sbin/lpr/lpr/lpr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lpr.c,v 1.35 2004/04/14 20:52:20 millert Exp $ */ +/* $OpenBSD: lpr.c,v 1.36 2004/05/10 16:09:06 otto Exp $ */ /* $NetBSD: lpr.c,v 1.19 2000/10/11 20:23:52 is Exp $ */ /* @@ -46,7 +46,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)lpr.c 8.4 (Berkeley) 4/28/95"; #else -static const char rcsid[] = "$OpenBSD: lpr.c,v 1.35 2004/04/14 20:52:20 millert Exp $"; +static const char rcsid[] = "$OpenBSD: lpr.c,v 1.36 2004/05/10 16:09:06 otto Exp $"; #endif #endif /* not lint */ @@ -311,7 +311,8 @@ main(int argc, char **argv) } card('J', jobname); card('C', class); - card('L', person); + if (!SH) + card('L', person); } if (iflag) card('I', itoa(indent)); |