Skip to content

Commit

Permalink
Exit with "exit status" (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Oct 29, 2023
1 parent 6704359 commit 62453fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/unipoints
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ function main(array $args): int
}

try {
$rc = main($argv);
$exitStatus = main($argv);
} catch (UserMessageException $x) {
echo trim($x->getMessage()), "\n";
$rc = 1;
$exitStatus = 1;
}

exit($rc);
exit($exitStatus);

0 comments on commit 62453fc

Please sign in to comment.