tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: shell trap vs inherited signal dispositions
On Fri, May 02, 2025 at 15:21:59 +0200, Edgar Fuß wrote:
> A shell must not trap signals that are ignored when the shell is called.
I am aware of that. I don't see what you mean by that comment given
the question and how it's relevant.
"trap -- - HUP" means the disposition for HUP is SIG_DFL, which is
suprising, given that nohup makes it ignored.
bash that reports "trap -- '' HUP" tells that the disposition for HUP
is SIG_IGN, as expected under nohup.
-uwe
Home |
Main Index |
Thread Index |
Old Index