Re: shell trap vs inherited signal dispositions
Robert Elz <[email protected]> Sat, 03 May 2025 17:44:54 +0700
| Newsgroups | gmane.os.netbsd.devel.userlevel |
|---|---|
| Message-ID | <[email protected]> |
Date: Fri, 2 May 2025 22:56:43 +0300
From: Valery Ushakov <[email protected]>
Message-ID: <[email protected]>
| "trap -- - HUP" means the disposition for HUP is SIG_DFL,
No it doesn't, it means there's no trap set for SIGHUP. You get the
same for a whole bunch of other signals that the shell manipulates for
its own internal purposes, even when the signal handler for them is
not SIG_DFL.
kre