aboutsummaryrefslogtreecommitdiff
path: root/examples/var_service/zcip_if/run
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-04-21 14:30:19 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2019-04-21 14:30:19 +0200
commit1e9a4f56f574471707244db9f7038ad0581dec16 (patch)
treee5899d6210542ceaa819b5173ba54a2865fcae4f /examples/var_service/zcip_if/run
parente49a572b529dc7dcfb052c679074b9b87577e388 (diff)
downloadbusybox-1e9a4f56f574471707244db9f7038ad0581dec16.tar.gz
examples/var_service: use "exec sleep 5" instead of "{ sleep 5; exit; }"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples/var_service/zcip_if/run')
-rwxr-xr-xexamples/var_service/zcip_if/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/var_service/zcip_if/run b/examples/var_service/zcip_if/run
index 699823246..69f8b9bae 100755
--- a/examples/var_service/zcip_if/run
+++ b/examples/var_service/zcip_if/run
@@ -8,7 +8,7 @@ pwd="$PWD"
if="${PWD##*/zcip_}"
echo "* Upping iface $if"
-ip link set dev "$if" up || { sleep 5; exit; }
+ip link set dev "$if" up || exec sleep 5
echo "* Starting zcip on $if [$$]"
exec \