Permalink
Browse files

bad operator in if statement

  • Loading branch information...
1 parent 035c7bb commit ebbe0f6d5fb62934175547e7565257bb1834a1b3 @y-trudeau committed Nov 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 heartbeat/mysql
View
@@ -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

0 comments on commit ebbe0f6

Please sign in to comment.