Skip to content

Commit 4478f74

Browse files
committed
test failing
1 parent 7259df6 commit 4478f74

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/Local.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,17 @@ public function isRunning() {
3434
$matches = false;
3535
preg_match( "/(.*?)\s+(\d+).*$/", $process, $matches );
3636
$this->pid = $matches[ 2 ];
37+
return True;
3738
}
38-
39+
return False;
3940
}
4041
else {
4142
$return_message = shell_exec("ps -" . "$this->pid " . "| wc -l");
4243
if (intval($return_message) > 1)
4344
{
4445
return True;
4546
}
47+
return False;
4648
}
4749
}
4850

0 commit comments

Comments
 (0)