In batch mode, exit after receiving SIGINT, instead of immediate

output of the next display.

Submitted by:	Andrey Zonov <andrey zonov org>
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2012-03-07 18:05:45 +00:00
parent c46ad71972
commit d9514f6739

View File

@ -723,6 +723,10 @@ restart:
if (!interactive)
{
sleep(delay);
if (leaveflag) {
end_screen();
exit(0);
}
}
else while (no_command)
{