From 88a39415ac550269159d6c1a956c9e3f745b1fd4 Mon Sep 17 00:00:00 2001 From: nadrad Date: Thu, 15 Sep 2022 10:34:57 +0200 Subject: [PATCH] moved the pcntl check to the correct place. --- h-m-m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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();