diff options
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 |