aboutsummaryrefslogtreecommitdiff
path: root/examples/var_service/ifplugd_if
diff options
context:
space:
mode:
Diffstat (limited to 'examples/var_service/ifplugd_if')
-rwxr-xr-xexamples/var_service/ifplugd_if/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/var_service/ifplugd_if/run b/examples/var_service/ifplugd_if/run
index e7816619d..cfddfec06 100755
--- a/examples/var_service/ifplugd_if/run
+++ b/examples/var_service/ifplugd_if/run
@@ -9,7 +9,7 @@ pwd="$PWD"
if="${PWD##*/ifplugd_}"
echo "* Upping iface $if"
-ip link set dev "$if" up || { sleep 5; exit; }
+ip link set dev "$if" up || exec sleep 5
echo "* Starting ifplugd on $if [$$]"
exec \