]> git.corax.cc Git - toolbox/commit
include/inst: Make instances trap signals
authorMatthias Kruk <m@m10k.eu>
Sat, 24 Jul 2021 04:05:55 +0000 (13:05 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 24 Jul 2021 04:05:55 +0000 (13:05 +0900)
commitb0ce898a4b496be2c1ec93e3410c693ba82471c1
tree05f6fc02e96d171e6c8d7b322021b56133b88107
parent7c40b02004a8d4bb5c7aa14fc32b32318d24fd5a
include/inst: Make instances trap signals

Instances don't handle signals, causing them not to get cleaned up
properly when terminated by a signal.
This commit adds a signal handler to the inst module, making sure
instances are properly cleaned up when terminated by a signal.
include/inst.sh