diff options
Diffstat (limited to 'Src/init.c')
-rw-r--r-- | Src/init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/init.c b/Src/init.c index d66d157c9..ab955b26a 100644 --- a/Src/init.c +++ b/Src/init.c @@ -792,7 +792,11 @@ run_init_scripts(void) void init_misc(void) { +#ifndef RESTRICTED_R + if ( restricted ) +#else if (*zsh_name == 'r' || restricted) +#endif dosetopt(RESTRICTED, 1, 0); if (cmd) { if (SHIN >= 10) |