diff --git a/borgsynology.sh b/borgsynology.sh index ad41c67..c7906e8 100644 --- a/borgsynology.sh +++ b/borgsynology.sh @@ -114,7 +114,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