New comment by ahesford on void-packages repository https://github.com/void-linux/void-packages/pull/32120#issuecomment-884634294 Comment: As pointed out in IRC by @sgn, a much more elegant approach is the just `|| exit` after each trigger invocation. The bare `exit` will forward the (failed) return code of the trigger out of the shell and we don't need to capture an intermediate variable. While I'm poking around here, I also noticed that none of the trigger arguments are quoted. By convention none by `$CONF_FILE` should contain spaces, so this doesn't matter; also, no existing trigger uses the `$CONF_FILE` argument anyway. Nevertheless, should it ever become important, quoting the `$CONF_FILE` is a good idea since the configuration path provided by a user might contain spaces arbitrarily. I'm quoting everything else just in case.