This commit implements two new boolean command line options:
--skipOnPreSnapCmdFail
--skipOnPreSendCmdFail
These options cause znapzend to skip snapshot creation or replication if
the respective pre-command returns a non-zero exit code or is killed by
a signal.
Coverage decreased (-0.6%) to 87.322% when pulling 65c1ae30e8f83b9bd8f4551bcf82c41f1518dd69 on atj:feature/skip_on_pre_cmd_failure into 3c02d29578e94a6a5c19cd04fa3a82a61176035b on oetiker:master.
Coverage decreased (-0.6%) to 87.322% when pulling 65c1ae30e8f83b9bd8f4551bcf82c41f1518dd69 on atj:feature/skip_on_pre_cmd_failure into 3c02d29578e94a6a5c19cd04fa3a82a61176035b on oetiker:master.
Coverage decreased (-0.6%) to 87.322% when pulling 65c1ae30e8f83b9bd8f4551bcf82c41f1518dd69 on atj:feature/skip_on_pre_cmd_failure into 3c02d29578e94a6a5c19cd04fa3a82a61176035b on oetiker:master.
This commit implements two new boolean command line options:
These options cause znapzend to skip snapshot creation or replication if the respective pre-command returns a non-zero exit code or is killed by a signal.