diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/subst.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Src/subst.c b/Src/subst.c index b5480d75e..0ef084106 100644 --- a/Src/subst.c +++ b/Src/subst.c @@ -414,15 +414,9 @@ filesubstr(char **namptr, int assign) sav = *pp; *pp = 0; if (!(cnam = findcmd(str + 1, 1))) { - Alias a = (Alias) aliastab->getnode(aliastab, str + 1); - - if (a) - cnam = a->text; - else { - if (isset(NOMATCH)) - zerr("%s not found", str + 1, 0); - return 0; - } + if (isset(NOMATCH)) + zerr("%s not found", str + 1, 0); + return 0; } *namptr = dupstring(cnam); if (sav) { |