From 34926f5fbf5a0422c59979b525aaa276d7dbeca3 Mon Sep 17 00:00:00 2001 From: fbt Date: Mon, 25 May 2015 12:26:03 +0300 Subject: [PATCH] wtf man --- init.d/lo.iface | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.d/lo.iface b/init.d/lo.iface index 3d5afa3..4af61d0 100755 --- a/init.d/lo.iface +++ b/init.d/lo.iface @@ -9,7 +9,7 @@ service_args="link set $cfg_iface up" wait_for_iface() { local iface="$1" timer='0' timeout='6' - until [[ "ip link show $iface up" ]]; do + until [[ "$(ip link show $iface up)" ]]; do (( timer >= timeout )) && { return 1; } (( timer++ )) done