diff options
author | hjl <hjl> | 2000-09-12 00:04:19 +0000 |
---|---|---|
committer | hjl <hjl> | 2000-09-12 00:04:19 +0000 |
commit | c66b083e9a007b02a23c24d22d6afaca555fcbee (patch) | |
tree | ce074ed5bd8cf8d3d5a0c518942350833382f28f | |
parent | 1c290a9551affd855cab3b246f9f893e2072f34b (diff) | |
download | nfs-utils-c66b083e9a007b02a23c24d22d6afaca555fcbee.tar.gz nfs-utils-c66b083e9a007b02a23c24d22d6afaca555fcbee.tar.xz nfs-utils-c66b083e9a007b02a23c24d22d6afaca555fcbee.zip |
2000-09-11 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* etc/redhat/nfslock.init: don't kill lockd processes that do not
have an executable (i.e. kernel threads)
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | etc/redhat/nfslock.init | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2000-09-11 Ion Badulescu <ionut@moisil.dev.hydraweb.com> + + * 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 <hjl@lucon.org> * 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: " |