aboutsummaryrefslogtreecommitdiff
path: root/sh/sh.c
diff options
context:
space:
mode:
Diffstat (limited to 'sh/sh.c')
-rw-r--r--sh/sh.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sh/sh.c b/sh/sh.c
index 2bb095c..ab81649 100644
--- a/sh/sh.c
+++ b/sh/sh.c
@@ -134,8 +134,7 @@ void commandLoop(FILE *filstr) {
}
else {
command_argc = splitCommand(name, command); /* See parser.c */
- if ((errno = parseCommand(command_argc, command)) != 0 /* See parser.c */ )
- printf("sh: %s: %s\n", command[0], strerror(errno));
+ parseCommand(command_argc, command); /* See parser.c */
}
}
}