aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-01-12 21:33:22 +0000
committerBill Nottingham <notting@redhat.com>2005-01-12 21:33:22 +0000
commitcb7e3d104fed84af2c42bf2c507b610d62ad14b0 (patch)
treeb53d06ed166a95ef032358e5f8cdf4f40041307a
parent63d24c77184d8afa1f41c193d15a1ca06226fbb2 (diff)
downloadinitscripts-cb7e3d104fed84af2c42bf2c507b610d62ad14b0.tar
initscripts-cb7e3d104fed84af2c42bf2c507b610d62ad14b0.tar.gz
initscripts-cb7e3d104fed84af2c42bf2c507b610d62ad14b0.tar.bz2
initscripts-cb7e3d104fed84af2c42bf2c507b610d62ad14b0.tar.xz
initscripts-cb7e3d104fed84af2c42bf2c507b610d62ad14b0.zip
move retcode
-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