There's a closed pull request on the void-packages repository xbps-triggers: exit kernel hook on error https://github.com/void-linux/void-packages/pull/43852 Description: Exit kernel-hook scripts with error in case of error in hook. Close: #42047 #### Testing the changes - I tested the changes in this PR: **YES** #### Local build testing - I built this PR locally for my native architecture, (x86_64)