Skip to content

Commit

Permalink
bad operator in if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Yves Trudeau committed Nov 4, 2012
1 parent 035c7bb commit ebbe0f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion heartbeat/mysql
Expand Up @@ -890,7 +890,7 @@ mysql_monitor() {
# check slave status
is_slave
rc=$?
if [ $rc -eq 0 -o "$OCF_RESKEY_CRM_meta_role" == "Slave" ]; then
if [ $rc -eq 0 -o "$OCF_RESKEY_CRM_meta_role" = "Slave" ]; then
check_slave
fi

Expand Down

0 comments on commit ebbe0f6

Please sign in to comment.