Commit adacd4b6 authored by Ad Schellevis's avatar Ad Schellevis

fix for https://github.com/opnsense/core/issues/111 (leftover from php-fpm)

parent d429c2e1
......@@ -82,10 +82,6 @@ function handle_argument_group($iface, $argument2) {
}
if (!file_exists("/var/run/booting")) {
if (isset($_GET)) {
if (!empty($_GET['interface']))
handle_argument_group($_GET['interface'], $_GET['action']);
} else {
if ($argc < 3) {
log_error("HOTPLUG event: The number of required parameters not passed!");
exit;
......@@ -105,5 +101,4 @@ if (!file_exists("/var/run/booting")) {
if (!empty($interface)) {
handle_argument_group($interface, $action);
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment