summaryrefslogtreecommitdiff
path: root/examples/var_service/supplicant_if/run
diff options
context:
space:
mode:
Diffstat (limited to 'examples/var_service/supplicant_if/run')
-rwxr-xr-xexamples/var_service/supplicant_if/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/var_service/supplicant_if/run b/examples/var_service/supplicant_if/run
index bc16fb6..5c813b0 100755
--- a/examples/var_service/supplicant_if/run
+++ b/examples/var_service/supplicant_if/run
@@ -9,7 +9,7 @@ if="${PWD##*/dhcp_}"
echo "* Upping iface $if"
# "or sleep" idiom prevents rapid respawning if iface does not exist
-ip link set dev "$if" up || { sleep 5; exit; }
+ip link set dev "$if" up || exec sleep 5
##echo "* Powersave disable on $if"
##iw dev "$if" set power_save off