From: Lon Hohberger <lhh@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] cman: Remove qdiskd pid file after clean stop.
Date: Fri, 20 Mar 2009 11:05:46 -0400 [thread overview]
Message-ID: <1237561546-32076-1-git-send-email-lhh@redhat.com> (raw)
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
reply other threads:[~2009-03-20 15:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1237561546-32076-1-git-send-email-lhh@redhat.com \
--to=lhh@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox