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 45ec13097..ccf4288a9 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -7978,7 +7978,7 @@ hashcd(void)
7978 for (cmdp = *pp; cmdp; cmdp = cmdp->next) { 7978 for (cmdp = *pp; cmdp; cmdp = cmdp->next) {
7979 if (cmdp->cmdtype == CMDNORMAL 7979 if (cmdp->cmdtype == CMDNORMAL
7980 || (cmdp->cmdtype == CMDBUILTIN 7980 || (cmdp->cmdtype == CMDBUILTIN
7981 && !IS_BUILTIN_REGULAR(cmdp->param.cmd) 7981 && !IS_BUILTIN_REGULAR(cmdp->param.cmd)
7982 && builtinloc > 0) 7982 && builtinloc > 0)
7983 ) { 7983 ) {
7984 cmdp->rehash = 1; 7984 cmdp->rehash = 1;
@@ -12825,7 +12825,7 @@ find_command(char *name, struct cmdentry *entry, int act, const char *path)
12825 } 12825 }
12826 if ((act & DO_NOFUNC) 12826 if ((act & DO_NOFUNC)
12827 || !prefix(pathopt, "func") 12827 || !prefix(pathopt, "func")
12828 ) { /* ignore unimplemented options */ 12828 ) { /* ignore unimplemented options */
12829 continue; 12829 continue;
12830 } 12830 }
12831 } 12831 }