diff options
author | mph <mph@FreeBSD.org> | 2000-06-30 20:05:21 +0000 |
---|---|---|
committer | mph <mph@FreeBSD.org> | 2000-06-30 20:05:21 +0000 |
commit | 13b4933d9e622b14283bd869e4ced912cd17a5a5 (patch) | |
tree | fda982fb8416f36fd3e98c5a4d236c72f280e5be /usr.sbin | |
parent | c9e8a236bca71a48d044038bf776d858bbb28e78 (diff) | |
download | FreeBSD-src-13b4933d9e622b14283bd869e4ced912cd17a5a5.zip FreeBSD-src-13b4933d9e622b14283bd869e4ced912cd17a5a5.tar.gz |
Quit on EOF from terminal instead of redisplaying the prompt.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/lpr/lpc/lpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/lpr/lpc/lpc.c b/usr.sbin/lpr/lpc/lpc.c index 559be75..5bfa859 100644 --- a/usr.sbin/lpr/lpc/lpc.c +++ b/usr.sbin/lpr/lpc/lpc.c @@ -169,7 +169,7 @@ cmdscanner() el_source(el, NULL); } if ((bp = el_gets(el, &num)) == NULL || num == 0) - return; + quit(0, NULL); len = (num > MAX_CMDLINE) ? MAX_CMDLINE : num; memcpy(cmdline, bp, len); |