Fix not quitting on exit command

In execute_command() if a execv failed, the child
was returning when it should have been exiting so
the shell would hang on the next command.