diff --git a/borgbackup.sh b/borgbackup.sh index 1a2f5cd..65717e5 100644 --- a/borgbackup.sh +++ b/borgbackup.sh @@ -113,7 +113,7 @@ borg_create() { --exclude-from $BORG_EXCLUDEFILE \ $BORG_REPO::'{now:%Y-%m-%d_%H:%M}' \ $(cat ${BORG_INCLUDEFILE}) - if [ $? -eq 0 ]; then + if [ $? -eq 0 ] || [ $? -eq 1 ]; then echo Calling Success_URL curl -o /dev/null -s $SUCCESS_URL else