Skip to content

Commit

Permalink
Exit with "exit status"
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Oct 29, 2023
1 parent 6704359 commit b527939
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;
$rc = exitStatus;
}

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

0 comments on commit b527939

Please sign in to comment.