From 9c2e98b57e41f4c5d2669975f3109cde00331be7 Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 22 Jul 2007 15:18:00 +0000 Subject: [PATCH] Remove another instance of 'ip ... ls' git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6939 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-common/wait4ifup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-common/wait4ifup b/Shorewall-common/wait4ifup index 957864496..3e63ba882 100755 --- a/Shorewall-common/wait4ifup +++ b/Shorewall-common/wait4ifup @@ -33,7 +33,7 @@ # interface_is_up() { - [ -n "$(ip link ls dev $1 2> /dev/null | grep -e '[<,]UP[,>]')" ] + [ -n "$(ip link list dev $1 2> /dev/null | grep -e '[<,]UP[,>]')" ] } case $# in