From: hjl Date: Tue, 12 Sep 2000 00:04:19 +0000 (+0000) Subject: 2000-09-11 Ion Badulescu X-Git-Tag: nfs-utils-0-2-1-pre1~2 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=c66b083e9a007b02a23c24d22d6afaca555fcbee 2000-09-11 Ion Badulescu * etc/redhat/nfslock.init: don't kill lockd processes that do not have an executable (i.e. kernel threads) --- diff --git a/ChangeLog b/ChangeLog index 7f872c4..e9d7f6b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-09-11 Ion Badulescu + + * etc/redhat/nfslock.init: don't kill lockd processes that do not + have an executable (i.e. kernel threads) + 2000-09-01 H.J. Lu * README: Updated for 0.2. diff --git a/etc/redhat/nfslock.init b/etc/redhat/nfslock.init index 469840c..3225b3a 100755 --- a/etc/redhat/nfslock.init +++ b/etc/redhat/nfslock.init @@ -45,7 +45,7 @@ case "$1" in if [ -n "$pidlist" ]; then pid= for apid in $pidlist ; do - [ -d /proc/$apid ] && pid="$pid $apid" + [ -f /proc/$apid/exe ] && pid="$pid $apid" done if [ -n "$pid" ]; then echo -n "Shutting down NFS lockd: "