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 84572c0..555060f 100644
--- a/sh/sh.c
+++ b/sh/sh.c
@@ -121,8 +121,7 @@ void commandLoop(FILE *filstr) {
if ((token = strtok_r(name, ";", &tokenstate)) != NULL) {
for (; token != NULL;) {
command_argc = splitCommand(token, 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 */
token = strtok_r(NULL, ";", &tokenstate);
}
}