mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-29 18:20:49 +08:00
try to fix the borg check
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
db9f88945c
commit
d8f24b8862
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ if [ "$BORG_MODE" = "check-repair" ]; then
|
|||
echo "Checking the backup integrity and repairing it..."
|
||||
|
||||
# Perform the check-repair
|
||||
if ! borg check -v --repair "$BORG_BACKUP_DIRECTORY"; then
|
||||
if ! echo YES | borg check -v --repair "$BORG_BACKUP_DIRECTORY"; then
|
||||
echo "Some errors were found while checking and repairing the backup integrity!"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue