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:
Tim J. Baumann 2020-01-01 15:32:15 +01:00
parent a82f07cecf
commit 36b98fdf26

View File

@ -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