diff --git a/h-m-m b/h-m-m index 217121b..749aeeb 100755 --- a/h-m-m +++ b/h-m-m @@ -225,6 +225,9 @@ function shutdown() exit; } +if (false === check_required_extensions()) + return 1; + register_shutdown_function("shutdown"); declare(ticks = 1); pcntl_signal(SIGINT,"shutdown"); @@ -2489,9 +2492,6 @@ function monitor_key_presses(&$mm) // }}} // {{{ main -if (false === check_required_extensions()) - return 1; - check_the_available_clipboard_tool($mm); set_up_screen();