diff options
Diffstat (limited to '')
-rw-r--r-- | src/exec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exec.c b/src/exec.c index f43108e..72757ab 100644 --- a/src/exec.c +++ b/src/exec.c @@ -430,7 +430,8 @@ loop: readcmdfile(fullname); if ((cmdp = cmdlookup(name, 0)) == NULL || cmdp->cmdtype != CMDFUNCTION) - error("%s not defined in %s", name, fullname); + sh_error("%s not defined in %s", name, + fullname); stunalloc(fullname); goto success; } |