mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Preserve exit code lost from s/exit/return/
This commit is contained in:
parent
110967a4ba
commit
3377dc9da6
@ -3142,7 +3142,7 @@ function interface_track6_configure($interface = "lan", $wancfg, $linkupevent =
|
||||
break;
|
||||
}
|
||||
|
||||
if (!platform_booting() && $linkupevent == false) {
|
||||
if ($linkupevent == false) {
|
||||
if (!function_exists('services_dhcpd_configure'))
|
||||
require_once("services.inc");
|
||||
|
||||
|
||||
@ -404,9 +404,9 @@ function console_configure_dhcpd($version = 4) {
|
||||
}
|
||||
|
||||
if (console_configure_dhcpd(4) == 0)
|
||||
return;
|
||||
return 0;
|
||||
if (console_configure_dhcpd(6) == 0)
|
||||
return;
|
||||
return 0;
|
||||
|
||||
//*****************************************************************************
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user