GIVEN M.A.R.I.L.L.A is using GSB as part of an automated backup script
WHEN her script calls for the creation of a backup, but there are no changes to back up
THEN by passing a flag to gsb backup such as --exit-zero, that command should result in an exit code of zero
SO that her script can continue on without needing to implement something like set +e or || true which would also silence legitimate errors such as the save path not being found
GIVEN M.A.R.I.L.L.A is using GSB as part of an automated backup script
WHEN her script calls for the creation of a backup, but there are no changes to back up
THEN by passing a flag to
gsb backup
such as--exit-zero
, that command should result in an exit code of zeroSO that her script can continue on without needing to implement something like
set +e
or|| true
which would also silence legitimate errors such as the save path not being foundNotes