diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-12-03 22:45:06 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-12-03 22:45:06 -0500 |
commit | 8d618825db361e503e9c91d38a459d74b431da7b (patch) | |
tree | 867159d7b35e65b652f4dafbadad94ed1db66c5b /variables.c | |
parent | 2abb7255922ba873a257aa6f679aadc50d5094cb (diff) | |
download | bash-8d618825db361e503e9c91d38a459d74b431da7b.tar.gz |
commit bash-20060209 snapshot
Diffstat (limited to 'variables.c')
-rw-r--r-- | variables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variables.c b/variables.c index d54f10a2..e8018f82 100644 --- a/variables.c +++ b/variables.c @@ -440,7 +440,7 @@ initialize_shell_variables (env, privmode) bind_variable ("OPTERR", "1", 0); sh_opterr = 1; - if (login_shell == 1) + if (login_shell == 1 && posixly_correct == 0) set_home_var (); /* Get the full pathname to THIS shell, and set the BASH variable |