* etc/redhat/nfslock.init: don't kill lockd processes that do not
have an executable (i.e. kernel threads)
+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.
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: "