diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2015-12-25 11:59:14 +0100 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2015-12-25 11:59:14 +0100 |
commit | 18d3aae0b1a9e58d5a970602d756a9ecf7cd1515 (patch) | |
tree | 43480bfe106aecb732deb522e09b938961c5a14a /sysconfig/network-scripts/ifdown-eth | |
parent | 70953fb20c85da43140552075245d6110621a637 (diff) | |
download | initscripts-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/ifdown-eth')
-rwxr-xr-x | sysconfig/network-scripts/ifdown-eth | 2 |
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 |