From 18d3aae0b1a9e58d5a970602d756a9ecf7cd1515 Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Fri, 25 Dec 2015 11:59:14 +0100 Subject: ifdown-eth: fix comparison --- sysconfig/network-scripts/ifdown-eth | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1