diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2015-12-25 11:59:14 +0100 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2016-01-05 15:38:13 +0100 |
commit | 4b627a20f4cce74e00b8f28d135cbbf583e2fa87 (patch) | |
tree | 1cfd28684d98911c14523de5bcd36967fe81a0bd /sysconfig | |
parent | 37e2084f437172353744b10cad600710137d87c6 (diff) | |
download | initscripts-4b627a20f4cce74e00b8f28d135cbbf583e2fa87.tar initscripts-4b627a20f4cce74e00b8f28d135cbbf583e2fa87.tar.gz initscripts-4b627a20f4cce74e00b8f28d135cbbf583e2fa87.tar.bz2 initscripts-4b627a20f4cce74e00b8f28d135cbbf583e2fa87.tar.xz initscripts-4b627a20f4cce74e00b8f28d135cbbf583e2fa87.zip |
ifdown-eth: fix comparison
Resolves: #1292875
Diffstat (limited to 'sysconfig')
-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 22c2aae5..89cd8d15 100755 --- a/sysconfig/network-scripts/ifdown-eth +++ b/sysconfig/network-scripts/ifdown-eth @@ -107,7 +107,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 |