networkmanager: fix dispatcherScripts example
Before, the example script didn't actually exit when the event type didn't match "up".
This commit is contained in:
parent
a82f07cecf
commit
36b98fdf26
@ -308,6 +308,7 @@ in {
|
|||||||
|
|
||||||
if [ "$2" != "up" ]; then
|
if [ "$2" != "up" ]; then
|
||||||
logger "exit: event $2 != up"
|
logger "exit: event $2 != up"
|
||||||
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# coreutils and iproute are in PATH too
|
# coreutils and iproute are in PATH too
|
||||||
|
Loading…
Reference in New Issue
Block a user