summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/parse.c b/parse.c
index 3c955e5..0dee80d 100644
--- a/parse.c
+++ b/parse.c
@@ -152,12 +152,10 @@ int sh_simple_command(struct simple_command *c)
return sh_builtin(c->argc, c->argv);
}
- /*
- if (sh_is_unspecified_utility(path)) {
- fprintf(stderr, "sh: %s has unspecified behavior, doing nothing\n", path);
+ if (sh_is_unspecified(path)) {
+ return sh_builtin(c->argc, c->argv);
return 1;
}
- */
/*
if (sh_is_function(path)) {