aboutsummaryrefslogtreecommitdiffstats
path: root/arch-system/borgbackup
diff options
context:
space:
mode:
Diffstat (limited to 'arch-system/borgbackup')
-rwxr-xr-xarch-system/borgbackup2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-system/borgbackup b/arch-system/borgbackup
index 8467b16..e16eec3 100755
--- a/arch-system/borgbackup
+++ b/arch-system/borgbackup
@@ -56,7 +56,7 @@ backup() {
# borg defines return code 1 as warning, usually permission stuff
notify_user "Warning: borgbackup returned 1. Check logs"
elif [ $rc -gt 1 ]; then
- handle_failure
+ borg list | grep -q "$(basename "$1")" || handle_failure
fi
cleanup