aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-01-07 21:04:54 +0000
committerBill Nottingham <notting@redhat.com>2005-01-07 21:04:54 +0000
commitcb7a35971277694140bfcdaf45dac5b47b0c5535 (patch)
tree7ec2b707028eec8c17e71bf8ccf188026fc561ee
parent8d3061f35f5811328b41ab424b2c51585ecaa22b (diff)
downloadinitscripts-cb7a35971277694140bfcdaf45dac5b47b0c5535.tar
initscripts-cb7a35971277694140bfcdaf45dac5b47b0c5535.tar.gz
initscripts-cb7a35971277694140bfcdaf45dac5b47b0c5535.tar.bz2
initscripts-cb7a35971277694140bfcdaf45dac5b47b0c5535.tar.xz
initscripts-cb7a35971277694140bfcdaf45dac5b47b0c5535.zip
return the result of the operation, not the result of nscd
-rw-r--r--sysconfig/network-scripts/network-functions1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 234352e7..8037e5d7 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -383,7 +383,6 @@ change_resolv_conf ()
if [ $r -eq 0 ]; then
/sbin/initlog -f local7 -p notice -n NET -s "$0 : updated /etc/resolv.conf";
[ -e /var/lock/subsys/nscd ] && /usr/sbin/nscd -i hosts; # invalidate cache
- return $?;
fi;
return $r;
}