From d88bd50ba3874fc9d78d8ef12e5bab8d40927c70 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 7 Jan 2005 21:03:23 +0000 Subject: return the result of the operation, not the result of nscd --- sysconfig/network-scripts/network-functions | 1 - 1 file changed, 1 deletion(-) diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index b5dd7437..eda9d3e1 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -390,7 +390,6 @@ change_resolv_conf () if [ $r -eq 0 ]; then logger -p local7.notice -t "NET" -i "$0 : updated /etc/resolv.conf"; [ -e /var/lock/subsys/nscd ] && /usr/sbin/nscd -i hosts; # invalidate cache - return $?; fi; return $r; } -- cgit v1.2.1