aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2013-05-22 13:27:35 +0200
committerLukas Nykryn <lnykryn@redhat.com>2013-05-22 13:27:35 +0200
commita9994292f1abad78d705d5cc57b44b25990cd01a (patch)
treec24384e474f563ba5dada255bab5a9e4d9f839e8 /sysconfig
parent2e3ace79dc99f258f1d5a9fad5a9daf172855c65 (diff)
downloadinitscripts-a9994292f1abad78d705d5cc57b44b25990cd01a.tar
initscripts-a9994292f1abad78d705d5cc57b44b25990cd01a.tar.gz
initscripts-a9994292f1abad78d705d5cc57b44b25990cd01a.tar.bz2
initscripts-a9994292f1abad78d705d5cc57b44b25990cd01a.tar.xz
initscripts-a9994292f1abad78d705d5cc57b44b25990cd01a.zip
network-functions: to determine state of nscd check socket not lock (#960779)
Diffstat (limited to 'sysconfig')
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index d240df35..1cb26d1b 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -506,7 +506,7 @@ change_resolv_conf ()
if [ $r -eq 0 ]; then
[ -x /sbin/restorecon ] && /sbin/restorecon /etc/resolv.conf >/dev/null 2>&1 # reset the correct context
/usr/bin/logger -p local7.notice -t "NET" -i "$0 : updated /etc/resolv.conf";
- [ -e /var/lock/subsys/nscd ] && /usr/sbin/nscd -i hosts; # invalidate cache
+ [ -e /var/run/nscd/socket ] && /usr/sbin/nscd -i hosts; # invalidate cache
fi;
return $r;
}