FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 03-20-2009, 02:05 PM
Lon Hohberger
 
Default 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
 

Thread Tools




All times are GMT. The time now is 05:27 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org