aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-03-08 17:50:28 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-03-12 20:37:57 +0100
commit39dd1f2a63bc8477bf444111189a7ecead77a667 (patch)
tree2583d9a5baa2a3001312dbd5524ddc51402511d6 /mod
parentba2df80f073caf6b426def177b217d1b37954d7f (diff)
mod/bridge-port-to: do not exit with error
Diffstat (limited to 'mod')
-rw-r--r--mod/bridge-port-to.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/bridge-port-to.rsc b/mod/bridge-port-to.rsc
index 441094f..567a762 100644
--- a/mod/bridge-port-to.rsc
+++ b/mod/bridge-port-to.rsc
@@ -26,7 +26,7 @@
:if ([ :len $DHCPClient ] != 1) do={
$LogPrint warning $0 ([ $IfThenElse ([ :len $DHCPClient ] = 0) "Missing" "Duplicate" ] . \
" dhcp client configuration for interface " . $BridgePortVal->"interface" . "!");
- :error false;
+ :return false;
}
:local DHCPClientDisabled [ /ip/dhcp-client/get $DHCPClient disabled ];