mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
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
|
||||
logger "exit: event $2 != up"
|
||||
exit
|
||||
fi
|
||||
|
||||
# coreutils and iproute are in PATH too
|
||||
|
Loading…
Reference in New Issue
Block a user