Skip to content

Commit ca80440

Browse files
committed
fix error code, should be *0* when success (= true)
1 parent 8a4b83a commit ca80440

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/ob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function run()
8484

8585
if ($cliInstance !== null) {
8686
$success = $cliInstance->run(array_values(array_slice($this->argv, $commandLength)));
87-
exit($success);
87+
exit(! $success);
8888
} else {
8989
$this->help();
9090
}

0 commit comments

Comments
 (0)