mysql_monitor: Apply patch available in upstream PR #52

https://github.com/percona/percona-pacemaker-agents/pull/53
This commit is contained in:
Felipe Reyes 2015-04-07 12:51:43 -03:00
parent 58837684f0
commit bf18728897
1 changed files with 4 additions and 0 deletions

View File

@ -545,6 +545,10 @@ mysql_monitor() {
;; ;;
esac esac
else
ocf_log $1 "MySQL is not running, but there is a pidfile"
set_reader_attr 0
set_writer_attr 0
fi fi
else else
ocf_log $1 "MySQL is not running" ocf_log $1 "MySQL is not running"