diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2021-06-28 15:42:01 +0100 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2021-06-28 15:42:01 +0100 |
commit | d293c12de696c190f2db4d565484ae48cf2bf977 (patch) | |
tree | e942d6ae32a6ea6b358cd1a9c313ec48284957f7 /Src | |
parent | 2912139261960da1229e49cd33f7ed90e8f37e99 (diff) | |
download | zsh-d293c12de696c190f2db4d565484ae48cf2bf977.tar.gz zsh-d293c12de696c190f2db4d565484ae48cf2bf977.tar.xz zsh-d293c12de696c190f2db4d565484ae48cf2bf977.zip |
49102: Ignore dynamic directory name failure if NO_EXEC
Diffstat (limited to 'Src')
-rw-r--r-- | Src/subst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/subst.c b/Src/subst.c index 9928be0e9..87a56c3c6 100644 --- a/Src/subst.c +++ b/Src/subst.c @@ -765,7 +765,7 @@ filesubstr(char **namptr, int assign) *namptr = dyncat(res, ptr2+1); return 1; } - if (isset(NOMATCH)) + if (isset(NOMATCH) && isset(EXECOPT)) zerr("no directory expansion: ~[%s]", tmp); return 0; } else if (!inblank(str[1]) && isend(*ptr) && |