mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-08 08:20:59 -04:00
slave/spawn: restore SIGHUP handler after fork(), before exec()
Foot installs a SIG_IGN handler for SIGHUP. Ignored signals are inherited in sub-processes. Thus, we need to restore it to SIG_DFL before exec:ing.
This commit is contained in:
parent
2f7e5aed40
commit
a72b2688bd
3 changed files with 9 additions and 2 deletions
|
|
@ -151,6 +151,7 @@
|
|||
in the right-most column.
|
||||
* Multi-column characters being cut in half when resizing the
|
||||
alternate screen.
|
||||
* Restore `SIGHUP` in spawned processes.
|
||||
|
||||
|
||||
### Security
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue