system: killbypid() in web GUI

This commit is contained in:
Franco Fichtner 2023-03-14 10:36:12 +01:00
parent 9316f4fbbd
commit 6b719e9411

View File

@ -124,7 +124,7 @@ function webgui_configure_do($verbose = false, $interface = '')
}
/* stop the frontend when the generation was completed */
killbypid('/var/run/lighty-webConfigurator.pid', 'INT', true);
killbypid('/var/run/lighty-webConfigurator.pid', 'INT');
/* start lighttpd */
if (!count($listeners) || mwexec('/usr/local/bin/flock -ne /var/run/lighty-webConfigurator.pid /usr/local/sbin/lighttpd -f /var/etc/lighty-webConfigurator.conf')) {