mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
move the advice to the correct line
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
de9397ad54
commit
4ffed7e23c
1 changed files with 1 additions and 1 deletions
|
|
@ -363,6 +363,7 @@ if [ "$BORG_MODE" = check ]; then
|
||||||
# Perform the check
|
# Perform the check
|
||||||
if ! borg check -v --verify-data "$BORG_BACKUP_DIRECTORY"; then
|
if ! borg check -v --verify-data "$BORG_BACKUP_DIRECTORY"; then
|
||||||
echo "Some errors were found while checking the backup integrity!"
|
echo "Some errors were found while checking the backup integrity!"
|
||||||
|
echo "Check the AIO interface for advices on how to proceed now!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -380,7 +381,6 @@ if [ "$BORG_MODE" = "check-repair" ]; then
|
||||||
# Perform the check-repair
|
# Perform the check-repair
|
||||||
if ! echo YES | 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!"
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue