Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shell: Use _exit() in the forked child if execvp() fails
If we can't find an executable to exec() after forking, we don't want to run the atexit() handlers in the child process. Just use _exit() instead to avoid this. This was causing us to write out the shell history to ~/.history every time a "command not found" error was printed.
- Loading branch information