[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] [PATCH] cman: Remove qdiskd pid file after clean stop.



Signed-off-by: Lon Hohberger <lhh redhat com>
---
 cman/init.d/cman.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cman/init.d/cman.in b/cman/init.d/cman.in
index fed4b1e..cbf0599 100644
--- a/cman/init.d/cman.in
+++ b/cman/init.d/cman.in
@@ -586,6 +586,7 @@ stop_qdiskd()
 	pid="$(pidof qdiskd)"
     done
     if [ -z "$(pidof qdiskd)" ]; then
+	[ -f /var/run/qdiskd.pid ] && rm -f /var/run/qdiskd.pid
 	return 0
     else
 	return 1
-- 
1.5.6.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]