mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-03 01:35:03 +02:00
mod/bridge-port-vlan: $BridgePortVlan: use $ExitError to indicate unintentional error
This commit is contained in:
parent
5db686a15c
commit
495232b299
1 changed files with 4 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
:global BridgePortVlan;
|
||||
|
||||
:global BridgePortVlan do={
|
||||
:global BridgePortVlan do={ :do {
|
||||
:local ConfigTo [ :tostr $1 ];
|
||||
|
||||
:global IfThenElse;
|
||||
|
@ -74,4 +74,6 @@
|
|||
$LogPrint info $0 ("Re-enabling interfaces...");
|
||||
/interface/ethernet/enable $InterfaceReEnable;
|
||||
}
|
||||
}
|
||||
} on-error={
|
||||
:global ExitError; $ExitError false $0;
|
||||
} }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue