aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index ec33a106c..521d65ab6 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -5628,7 +5628,7 @@ expmeta(char *enddir, char *name)
5628 char *start; 5628 char *start;
5629 char *endname; 5629 char *endname;
5630 int metaflag; 5630 int metaflag;
5631 struct stat64 statb; 5631 struct stat statb;
5632 DIR *dirp; 5632 DIR *dirp;
5633 struct dirent *dp; 5633 struct dirent *dp;
5634 int atend; 5634 int atend;
@@ -5671,7 +5671,7 @@ out:
5671 p++; 5671 p++;
5672 *enddir++ = *p; 5672 *enddir++ = *p;
5673 } while (*p++); 5673 } while (*p++);
5674 if (metaflag == 0 || lstat64(expdir, &statb) >= 0) 5674 if (metaflag == 0 || lstat(expdir, &statb) >= 0)
5675 addfname(expdir); 5675 addfname(expdir);
5676 return; 5676 return;
5677 } 5677 }