Cluster-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH] cman: Remove qdiskd pid file after clean stop.
@ 2009-03-20 15:05 Lon Hohberger
  0 siblings, 0 replies; only message in thread
From: Lon Hohberger @ 2009-03-20 15:05 UTC (permalink / raw)
  To: cluster-devel.redhat.com

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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-20 15:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-20 15:05 [Cluster-devel] [PATCH] cman: Remove qdiskd pid file after clean stop Lon Hohberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox