From 71d488e966e3f8179cafda13a7a0cea5d1005a7b Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 2 Mar 2016 16:58:48 +1300 Subject: Remove cuddled else --- cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd.c b/cmd.c index 28c46f1..4834bfb 100644 --- a/cmd.c +++ b/cmd.c @@ -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; } -- cgit v1.2.3