Skip to content

Commit

Permalink
Flip the sense on the success when trying to stop starman.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Jan 13, 2012
1 parent 2f0765a commit 00e74cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wre/lib/WRE/Starman.pm
Expand Up @@ -162,7 +162,7 @@ sub stop {
kill "TERM", $pid;
while ($count++ < 10 && $success) {
sleep(1);
eval { $success = $self->ping };
eval { $success = !$self->ping };
}
if ($success) {
$config->set("wreMonitor/starmanAdministrativelyDown", 1);
Expand Down

0 comments on commit 00e74cb

Please sign in to comment.