From 1e9a4f56f574471707244db9f7038ad0581dec16 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 21 Apr 2019 14:30:19 +0200 Subject: examples/var_service: use "exec sleep 5" instead of "{ sleep 5; exit; }" Signed-off-by: Denys Vlasenko --- examples/var_service/zcip_if/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/var_service/zcip_if/run') 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 \ -- cgit v1.2.3