main: remove unneeded code in signal handler

The handler is set up when the main code is already initialized.
This commit is contained in:
Miroslav Lichvar 2020-07-14 18:34:10 +02:00
parent 32a82a38fd
commit 77bd0f83fe

1
main.c
View file

@ -148,7 +148,6 @@ MAI_CleanupAndExit(void)
static void
signal_cleanup(int x)
{
if (!initialised) exit(0);
SCH_QuitProgram();
}