diff --git a/Userland/Utilities/nohup.cpp b/Userland/Utilities/nohup.cpp index 6fa4ea55f4..826b0643c3 100644 --- a/Userland/Utilities/nohup.cpp +++ b/Userland/Utilities/nohup.cpp @@ -54,6 +54,7 @@ void dup_out_file(int fd_to_redirect) ErrorOr serenity_main(Main::Arguments arguments) { + Main::set_return_code_for_errors(127); TRY(Core::System::pledge("stdio wpath cpath rpath exec sigaction")); StringView utility;