diff options
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 946e8726e..b7635a823 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -7613,7 +7613,9 @@ expandhere(union node *arg, int fd) | |||
7613 | static int | 7613 | static int |
7614 | patmatch(char *pattern, const char *string) | 7614 | patmatch(char *pattern, const char *string) |
7615 | { | 7615 | { |
7616 | return pmatch(preglob(pattern, 0), string); | 7616 | char *p = preglob(pattern, 0); |
7617 | //bb_error_msg("fnmatch(pattern:'%s',str:'%s')", p, string); | ||
7618 | return pmatch(p, string); | ||
7617 | } | 7619 | } |
7618 | 7620 | ||
7619 | /* | 7621 | /* |