summaryrefslogtreecommitdiff
path: root/general.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2015-11-02 10:49:23 -0500
committerChet Ramey <chet.ramey@case.edu>2015-11-02 10:49:23 -0500
commit07357ec2963612a94a7fdfabce7d477c53d4d591 (patch)
tree054184f0e78537f2988c935518ab4840d709bf58 /general.c
parent33723c84028387bb946799c0aeae8694b9279e3b (diff)
downloadbash-07357ec2963612a94a7fdfabce7d477c53d4d591.tar.gz
commit bash-20151023 snapshot
Diffstat (limited to 'general.c')
-rw-r--r--general.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/general.c b/general.c
index fda210bd..ff23f8c7 100644
--- a/general.c
+++ b/general.c
@@ -58,6 +58,7 @@ extern int check_hashed_filenames;
extern int source_uses_path;
extern int source_searches_cwd;
extern int posixly_correct;
+extern int inherit_errexit;
static char *bash_special_tilde_expansions __P((char *));
static int unquoted_tilde_word __P((const char *));
@@ -75,6 +76,7 @@ posix_initialize (on)
if (on != 0)
{
interactive_comments = source_uses_path = expand_aliases = 1;
+ inherit_errexit = 1;
source_searches_cwd = 0;
}