osc copypac from project:network:ha-clustering package:ocfs2-tools revision:1

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/ocfs2-tools?expand=0&rev=8
This commit is contained in:
2010-06-25 12:23:00 +00:00
committed by Git OBS Bridge
parent 2553976dd6
commit c8700c5230
57 changed files with 8761 additions and 1623 deletions

View File

@@ -168,19 +168,18 @@ bringup_daemon()
kill_daemon()
{
status_daemon; rc=$?
if [ $rc != $OCF_SUCCESS ]; then
return $rc
if [ $rc == $OCF_NOT_RUNNING ]; then
return 0
fi
ocf_log info "Stopping `basename "$DAEMON"`"
killproc "$DAEMON"
while [ $rc = $OCF_NOT_RUNNING ]; do
sleep 1
while [ $rc != $OCF_NOT_RUNNING ]; do
sleep 1
status_daemon; rc=$?
done
return $OCF_SUCCESS
return 0
}
#