diff options
| author | Bill Nottingham <notting@redhat.com> | 2005-01-12 21:34:19 +0000 |
|---|---|---|
| committer | Bill Nottingham <notting@redhat.com> | 2005-01-12 21:34:19 +0000 |
| commit | 52f68b2b21100f8403d8a53e4f981b22d9f050d9 (patch) | |
| tree | f3d64670420a2e6be643ca20e68c79a2bf6e9457 /sysconfig/network-scripts/ifdown | |
| parent | 3520e4d042f05895a986fb61d03869b3f31d0d4c (diff) | |
move retcode
Diffstat (limited to 'sysconfig/network-scripts/ifdown')
| -rwxr-xr-x | sysconfig/network-scripts/ifdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown index 88c9a9cf..93d41576 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 } [ -n "`pidof -x dhcpcd`" ] && { |
