From d061785438d489058141a831fbd2818909f3d11d Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 28 Sep 2006 09:47:13 +0000 Subject: 22783: Frank Terbeck: don't load zsh/newuser unless interactive --- Src/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/init.c') 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 -- cgit v1.2.3