diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-05-31 17:10:12 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-05-31 17:10:12 +0000 |
commit | f42e3fa8e6152e145251e8f16f4c61c23dec1f59 (patch) | |
tree | 9a7b104b910ae53f6a49cb4e35c3dedc737e907b /Src/builtin.c | |
parent | 4fec788fa5f6e7c9723e02e3d0b57068ce9785aa (diff) | |
download | zsh-f42e3fa8e6152e145251e8f16f4c61c23dec1f59.tar.gz zsh-f42e3fa8e6152e145251e8f16f4c61c23dec1f59.tar.xz zsh-f42e3fa8e6152e145251e8f16f4c61c23dec1f59.zip |
pws-20 dot-zsh-199906060520
Diffstat (limited to 'Src/builtin.c')
-rw-r--r-- | Src/builtin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c index a90d59cae..4c9b159dd 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -2962,7 +2962,8 @@ zexit(int val, int from_signal) if (islogin && !subsh) { sourcehome(".zlogout"); #ifdef GLOBAL_ZLOGOUT - source(GLOBAL_ZLOGOUT); + if (isset(RCS) && isset(GLOBALRCS)) + source(GLOBAL_ZLOGOUT); #endif } } |