Skip to content

Commit

Permalink
impl-posix: Fix exit codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepy-monax committed Nov 10, 2024
1 parent 1727300 commit 7a0dff9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/impls/impl-posix/entry.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ int main(int argc, char const **argv) {
Res<> code = Sys::run(entryPointAsync(ctx));
if (not code) {
Karm::Sys::errln("{}: {}", argv[0], code);
return 1;
return EXIT_FAILURE;
}
return 0;
return EXIT_SUCCESS;
}

0 comments on commit 7a0dff9

Please sign in to comment.