diff options
author | Matthew Hunt <mph@FreeBSD.org> | 2000-06-30 20:05:21 +0000 |
---|---|---|
committer | Matthew Hunt <mph@FreeBSD.org> | 2000-06-30 20:05:21 +0000 |
commit | e97781bf254f2418dd83a09ca2a8fcedc2d267d5 (patch) | |
tree | 33cac71f546d0acf462db1c4f8aa86ba2f44043b /usr.sbin | |
parent | 27dc3a2b96ce031fc4c5b3f063f93a6daad2635e (diff) | |
download | src-e97781bf254f2418dd83a09ca2a8fcedc2d267d5.tar.gz src-e97781bf254f2418dd83a09ca2a8fcedc2d267d5.zip |
Quit on EOF from terminal instead of redisplaying the prompt.
Notes
Notes:
svn path=/head/; revision=62294
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 559be75ac17e..5bfa85920f5a 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); |