aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2015-12-25 11:59:14 +0100
committerLukas Nykryn <lnykryn@redhat.com>2015-12-25 11:59:14 +0100
commit18d3aae0b1a9e58d5a970602d756a9ecf7cd1515 (patch)
tree43480bfe106aecb732deb522e09b938961c5a14a /sysconfig/network-scripts
parent70953fb20c85da43140552075245d6110621a637 (diff)
downloadinitscripts-18d3aae0b1a9e58d5a970602d756a9ecf7cd1515.tar
initscripts-18d3aae0b1a9e58d5a970602d756a9ecf7cd1515.tar.gz
initscripts-18d3aae0b1a9e58d5a970602d756a9ecf7cd1515.tar.bz2
initscripts-18d3aae0b1a9e58d5a970602d756a9ecf7cd1515.tar.xz
initscripts-18d3aae0b1a9e58d5a970602d756a9ecf7cd1515.zip
ifdown-eth: fix comparison
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifdown-eth2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown-eth b/sysconfig/network-scripts/ifdown-eth
index e163c8e5..9808ed67 100755
--- a/sysconfig/network-scripts/ifdown-eth
+++ b/sysconfig/network-scripts/ifdown-eth
@@ -112,7 +112,7 @@ retcode=0
# instance instead.
if [ -d "/sys/class/net/${REALDEVICE}" ]; then
LABEL=
- if [ "${REALDEVICE}" = "${DEVICE}" ]; then
+ if [ "${REALDEVICE}" != "${DEVICE}" ]; then
LABEL="label ${DEVICE}"
fi
if [ "${REALDEVICE}" = "lo" ]; then