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:
parent
c46ad71972
commit
d9514f6739
@ -723,6 +723,10 @@ restart:
|
|||||||
if (!interactive)
|
if (!interactive)
|
||||||
{
|
{
|
||||||
sleep(delay);
|
sleep(delay);
|
||||||
|
if (leaveflag) {
|
||||||
|
end_screen();
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else while (no_command)
|
else while (no_command)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user