diff options
Diffstat (limited to 'Src/glob.c')
-rw-r--r-- | Src/glob.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/glob.c b/Src/glob.c index 1e9195049..627166c7a 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -1906,6 +1906,8 @@ zglob(LinkList list, LinkNode np, int nountok) matchptr++; } } + } else if (!badcshglob && !isset(NOMATCH) && matchct == 1) { + insert_glob_match(list, node, (--matchptr)->name); } free(matchbuf); |