moved the pcntl check to the correct place.

This commit is contained in:
nadrad 2022-09-15 10:34:57 +02:00
parent 265992fc4f
commit 88a39415ac

6
h-m-m
View file

@ -225,6 +225,9 @@ function shutdown()
exit; exit;
} }
if (false === check_required_extensions())
return 1;
register_shutdown_function("shutdown"); register_shutdown_function("shutdown");
declare(ticks = 1); declare(ticks = 1);
pcntl_signal(SIGINT,"shutdown"); pcntl_signal(SIGINT,"shutdown");
@ -2489,9 +2492,6 @@ function monitor_key_presses(&$mm)
// }}} // }}}
// {{{ main // {{{ main
if (false === check_required_extensions())
return 1;
check_the_available_clipboard_tool($mm); check_the_available_clipboard_tool($mm);
set_up_screen(); set_up_screen();