Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

ulimit behaviour of bash vs. zsh



Hi,

this is what Bash does:

$ ulimit -l
64
$ ulimit -l unlimited
bash: ulimit: max locked memory: cannot modify limit: Operation not permitted
$ echo $?
1

While that's the behaviour of Zsh:

% ulimit -l
64
% ulimit -l unlimited
% echo $?
0
% ulimit -l
64

I find this quite irritating. Is that behaviour by intention? :)

regards,
-mika-

Attachment: signature.asc
Description: Digital signature



Messages sorted by: Reverse Date, Date, Thread, Author