~vcs-imports/mysql-mmm/2.0

« back to all changes in this revision

Viewing changes to lib/Monitor/Monitor.pm

  • Committer: mail at pascalhofmann
  • Date: 2009-05-20 08:57:15 UTC
  • Revision ID: vcs-imports@canonical.com-20090520085715-tc8irtzg5yk46vjr
mmm2: Fix monitor startup

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
 
99
99
                $res = $agent->cmd_get_agent_status(2);
100
100
 
101
 
                if ($res !~ /^OK/) {
 
101
                if ($res =~ /^OK/) {
102
102
 
103
103
                        my ($msg, $state, $roles_str, $master) = split('\|', $res);
104
104
                        my @roles_str_arr = sort(split(/\,/, $roles_str));