rapido-linux / rapido

Quickly test Linux kernel changes
GNU Lesser General Public License v2.1
22 stars 22 forks source link

trap scripts called multiple times #196

Closed ddiss closed 1 week ago

ddiss commented 1 year ago

We have a whole bunch of trap "$script" 0 1 2 3 15 callers, where $script is unintentionally invoked multiple times. Either the trap handler should be cleared, or the signal list should be trimmed to e.g. only 0, so that a SIGINT invocation won't be followed by a second for EXIT.

ddiss commented 1 week ago

fixed via a65577e ("run trap cleanup hooks on EXIT only") closing...