Failed command does not abort hooks
jaxvanyang opened this issue · comments
For example:
- pre_backup:
- |
false
echo 'should stop before'
This will always echo. A workaround is adding set -e
at the beginning of script.
Won't fix at this moment.