summaryrefslogtreecommitdiff
path: root/variables.c~
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-07 09:31:44 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-07 09:31:44 -0500
commit1fa6db607f4431f6177e00fc879ea3021c9fe039 (patch)
tree59aaa07cc03c3d34229d9465c2b793dbb8c0700b /variables.c~
parent8c2fef191e54e955aca6b2b2607e9794d3cc87c5 (diff)
downloadbash-1fa6db607f4431f6177e00fc879ea3021c9fe039.tar.gz
commit bash-20081106 snapshot
Diffstat (limited to 'variables.c~')
-rw-r--r--variables.c~3
1 files changed, 2 insertions, 1 deletions
diff --git a/variables.c~ b/variables.c~
index 21fffc71..3b3276cf 100644
--- a/variables.c~
+++ b/variables.c~
@@ -4234,7 +4234,8 @@ void
sv_globignore (name)
char *name;
{
- setup_glob_ignore (name);
+ if (privileged_mode == 0)
+ setup_glob_ignore (name);
}
#if defined (READLINE)