Skip to content
Permalink
Browse files

Flip the sense on the success when trying to stop starman.

  • Loading branch information...
perlDreamer committed Jan 13, 2012
1 parent 2f0765a commit 00e74cb4a80e591f19c57d9f2b3b0bc8f810cec5
Showing with 1 addition and 1 deletion.
  1. +1 −1 wre/lib/WRE/Starman.pm
@@ -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);

0 comments on commit 00e74cb

Please sign in to comment.
You can’t perform that action at this time.