diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-09-28 09:47:13 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-09-28 09:47:13 +0000 |
commit | d061785438d489058141a831fbd2818909f3d11d (patch) | |
tree | 76dde8793d68756d1b3729db6e7f6a755dbcb9aa /Src | |
parent | 966ff3a185ba150625cd14022392d310cf9c1649 (diff) | |
download | zsh-d061785438d489058141a831fbd2818909f3d11d.tar.gz zsh-d061785438d489058141a831fbd2818909f3d11d.tar.xz zsh-d061785438d489058141a831fbd2818909f3d11d.zip |
22783: Frank Terbeck: don't load zsh/newuser unless interactive
Diffstat (limited to 'Src')
-rw-r--r-- | Src/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/init.c b/Src/init.c index 50bdec59d..4121e9b70 100644 --- a/Src/init.c +++ b/Src/init.c @@ -958,7 +958,7 @@ run_init_scripts(void) source(GLOBAL_ZSHENV); #endif - if (isset(RCS) && unset(PRIVILEGED)) + if (isset(RCS) && isset(INTERACTIVE) && unset(PRIVILEGED)) { /* * Always attempt to load the newuser module to perform |