diff options
| author | Mehdi Sadeghi <mehdi@mehdix.org> | 2021-08-29 21:07:34 +0200 |
|---|---|---|
| committer | Mehdi Sadeghi <mehdi@mehdix.org> | 2021-08-29 21:07:34 +0200 |
| commit | 0dd8f62fc008daf6e4bdea568475d6f81bc08e5e (patch) | |
| tree | 9907c17549726bdb2a31b7205a84f9c292a288d0 /.config/i3status | |
| parent | eac660293c025232b7e45a392bbdf5b19af72331 (diff) | |
Trap and kill leftover process.
With the current i3status wrapper script, after exiting sway two
process where left dangling out there. The i3status process and
parts of the wrapper pipeline. Using set -eo pipefail and using
shell substition and trapping fixed the problem. Note that this
is a bash-only solution.
Diffstat (limited to '.config/i3status')
0 files changed, 0 insertions, 0 deletions
