force quit on second Ctrl+C

This commit is contained in:
Robert Müller 2021-06-12 17:01:46 +02:00 committed by Dennis Felsing
parent eecd13476c
commit a69852bdfc

View file

@ -3607,6 +3607,9 @@ static CServer *CreateServer() { return new CServer(); }
void HandleSigInt(int Param) void HandleSigInt(int Param)
{ {
if(InterruptSignaled)
exit(1);
else
InterruptSignaled = true; InterruptSignaled = true;
} }