Skip to content

Commit 00e74cb

Browse files
committedJan 13, 2012
Flip the sense on the success when trying to stop starman.
1 parent 2f0765a commit 00e74cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎wre/lib/WRE/Starman.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ sub stop {
162162
kill "TERM", $pid;
163163
while ($count++ < 10 && $success) {
164164
sleep(1);
165-
eval { $success = $self->ping };
165+
eval { $success = !$self->ping };
166166
}
167167
if ($success) {
168168
$config->set("wreMonitor/starmanAdministrativelyDown", 1);

0 commit comments

Comments
 (0)
Please sign in to comment.