aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index fbf3efce2..5ef7efbdb 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -7623,7 +7623,7 @@ hashcd(void)
7623 for (cmdp = *pp; cmdp; cmdp = cmdp->next) { 7623 for (cmdp = *pp; cmdp; cmdp = cmdp->next) {
7624 if (cmdp->cmdtype == CMDNORMAL 7624 if (cmdp->cmdtype == CMDNORMAL
7625 || (cmdp->cmdtype == CMDBUILTIN 7625 || (cmdp->cmdtype == CMDBUILTIN
7626 && !IS_BUILTIN_REGULAR(cmdp->param.cmd) 7626 && !IS_BUILTIN_REGULAR(cmdp->param.cmd)
7627 && builtinloc > 0) 7627 && builtinloc > 0)
7628 ) { 7628 ) {
7629 cmdp->rehash = 1; 7629 cmdp->rehash = 1;
@@ -12325,7 +12325,7 @@ find_command(char *name, struct cmdentry *entry, int act, const char *path)
12325 } 12325 }
12326 if ((act & DO_NOFUNC) 12326 if ((act & DO_NOFUNC)
12327 || !prefix(pathopt, "func") 12327 || !prefix(pathopt, "func")
12328 ) { /* ignore unimplemented options */ 12328 ) { /* ignore unimplemented options */
12329 continue; 12329 continue;
12330 } 12330 }
12331 } 12331 }