summaryrefslogtreecommitdiffstats
path: root/etc/pccard_ether
diff options
context:
space:
mode:
Diffstat (limited to 'etc/pccard_ether')
-rwxr-xr-xetc/pccard_ether2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/pccard_ether b/etc/pccard_ether
index 93c7ca5..697b1c1 100755
--- a/etc/pccard_ether
+++ b/etc/pccard_ether
@@ -65,7 +65,7 @@ esac
case ${startstop} in
[Ss][Tt][Aa][Rr][Tt] | '')
- if ifconfig ${interface} | grep -s UP,; then
+ if ifconfig ${interface} | grep -s UP, > /dev/null 2>&1; then
# Interface is already up, so ignore it.
exit 0
fi
OpenPOWER on IntegriCloud