diff --git a/Userland/Libraries/LibDebug/DebugSession.cpp b/Userland/Libraries/LibDebug/DebugSession.cpp index 82871d070c..243d05f400 100644 --- a/Userland/Libraries/LibDebug/DebugSession.cpp +++ b/Userland/Libraries/LibDebug/DebugSession.cpp @@ -84,8 +84,8 @@ OwnPtr DebugSession::exec_and_attach(const String& command, String int rc = execvpe(args[0], const_cast(args), const_cast(envp)); if (rc < 0) { perror("execvp"); + exit(1); } - ASSERT_NOT_REACHED(); } if (waitpid(pid, nullptr, WSTOPPED) != pid) {