- call `check_and_close_fd_13()` directly when `exit_with_error()` called, don't wait for trap - store PID spawned by `do_with_logging()` under `$global_tee_pid` - `check_and_close_fd_13()`: - sprinkle with `sync` to give a chance for stuff to die gracefully - check if `$global_tee_pid` is set and actually a running PID, if so, kill it - do not blindly "wait" for stuff, instead, kill it and wait for it to die -- 100% more likely to not hang ;-) |
||
|---|---|---|
| .. | ||
| bsp | ||
| cli | ||
| compilation | ||
| configuration | ||
| extras | ||
| general | ||
| host | ||
| image | ||
| logging | ||
| main | ||
| rootfs | ||