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

exit status 0 after SIGINT



zsh in interactive mode sets the exit status to 0 after sending itself
SIGINT using the 'kill' command. I'd expect 130 (= 2 + 128).

Interestingly enough, pressing Ctrl+C does set the exit status to 130.

% [presses Ctrl+C]
% echo $?
130
% kill -s INT $$
$ echo $?
0

- Martijn



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