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