diff options
-rwxr-xr-x | bin/backup | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -92,6 +92,7 @@ ARCHIVE_TAG="${1:-manual}" run() { + STATUS=0 set -x # The contents of $VERBOSE_FLAGS doesn't involve user input: # shellcheck disable=2086 @@ -103,8 +104,7 @@ run() { --stats \ --compression lzma,9 \ "::{hostname}-{now}-$ARCHIVE_TAG" \ - ~/ - STATUS=$? + ~/ || STATUS=$? set +x if [ "$STATUS" = 0 ]; then |