jaxvanyang / dotbackup

YAML config based backup utility.

Home Page:https://pypi.org/project/dotbackup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.