diff --git a/src/impls/impl-posix/entry.h b/src/impls/impl-posix/entry.h index b8f16df75b..acfbdbdc9c 100644 --- a/src/impls/impl-posix/entry.h +++ b/src/impls/impl-posix/entry.h @@ -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; }