1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-06-14 08:08:10 +02:00

zsh-workers:6193

This commit is contained in:
Tanaka Akira 1999-05-04 21:20:40 +00:00
parent f0159dac34
commit d14a9044cf

View file

@ -635,6 +635,8 @@ dosetopt(int optno, int value, int force)
}
} else if(!force && (optno == INTERACTIVE || optno == SHINSTDIN ||
optno == SINGLECOMMAND)) {
if (opts[optno] == value)
return 0;
/* it is not permitted to change the value of these options */
return -1;
} else if(!force && optno == USEZLE && value) {