mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
LibDebug: Don't assert when running on non-existent executable
This commit is contained in:
parent
c98055de75
commit
586c0aa043
1 changed files with 1 additions and 1 deletions
|
@ -84,8 +84,8 @@ OwnPtr<DebugSession> DebugSession::exec_and_attach(const String& command, String
|
|||
int rc = execvpe(args[0], const_cast<char**>(args), const_cast<char**>(envp));
|
||||
if (rc < 0) {
|
||||
perror("execvp");
|
||||
exit(1);
|
||||
}
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
if (waitpid(pid, nullptr, WSTOPPED) != pid) {
|
||||
|
|
Loading…
Add table
Reference in a new issue