aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsysconfig/network-scripts/ifdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index 154974e6..ce7fb753 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -88,8 +88,8 @@ retcode=0
reason=STOP interface=${DEVICE} /sbin/dhclient-script
fi
kill `cat /var/run/dhclient-${DEVICE}.pid` >/dev/null 2>&1
- rm -f /var/run/dhclient-${DEVICE}.pid
retcode=$?
+ rm -f /var/run/dhclient-${DEVICE}.pid
fi
}
# we can't just delete the configured address because that address