From 4ffed7e23c6030d8c9628dd1ea9a4b2e57c13242 Mon Sep 17 00:00:00 2001 From: Simon L Date: Sat, 22 Apr 2023 11:26:17 +0200 Subject: [PATCH] move the advice to the correct line Signed-off-by: Simon L --- Containers/borgbackup/backupscript.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containers/borgbackup/backupscript.sh b/Containers/borgbackup/backupscript.sh index 430b985e..64bb8fd2 100644 --- a/Containers/borgbackup/backupscript.sh +++ b/Containers/borgbackup/backupscript.sh @@ -363,6 +363,7 @@ if [ "$BORG_MODE" = check ]; then # Perform the check if ! borg check -v --verify-data "$BORG_BACKUP_DIRECTORY"; then echo "Some errors were found while checking the backup integrity!" + echo "Check the AIO interface for advices on how to proceed now!" exit 1 fi @@ -380,7 +381,6 @@ if [ "$BORG_MODE" = "check-repair" ]; then # Perform the check-repair if ! echo YES | borg check -v --repair "$BORG_BACKUP_DIRECTORY"; then echo "Some errors were found while checking and repairing the backup integrity!" - echo "Check the AIO interface for advices on how to proceed now!" exit 1 fi