diff options
-rw-r--r-- | cmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -44,9 +44,10 @@ void cmd(char *line) { execve(cmd, cmd_argv, cmd_envp); } waitpid(pid, &status, 0); + } /* Otherwise, print an error, because we couldn't find the command */ - } else { + else { fprintf(stderr, "Command ā%sā not found\n", cmd); return; } |