]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
2000-09-11 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
authorhjl <hjl>
Tue, 12 Sep 2000 00:04:19 +0000 (00:04 +0000)
committerhjl <hjl>
Tue, 12 Sep 2000 00:04:19 +0000 (00:04 +0000)
* etc/redhat/nfslock.init: don't kill lockd processes that do not
have an executable (i.e. kernel threads)

ChangeLog
etc/redhat/nfslock.init

index 7f872c4d006aa0272b413b0276d1944ba772a6ef..e9d7f6b638ea52ba103ca8a26b3d1d216ba968ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 469840ce99a95e50eae9cc7e3212018243921bf9..3225b3a560985176a4c7e3a962a24faa00dbf051 100755 (executable)
@@ -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: "