mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-06-10 08:37:02 +00:00
only check for exit code 81
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
@@ -29,7 +29,7 @@ else
|
||||
fi
|
||||
export BORG_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK=yes
|
||||
export BORG_RELOCATED_REPO_ACCESS_IS_OK=yes
|
||||
# Use specific exit codes (80/81 for connection failures) instead of the legacy generic exit code 2
|
||||
# Use specific exit codes (81 for ssh connection failures) instead of the legacy generic exit code 2
|
||||
export BORG_EXIT_CODES=modern
|
||||
if [ -n "$BORG_REMOTE_REPO" ]; then
|
||||
export BORG_REPO="$BORG_REMOTE_REPO"
|
||||
|
||||
Reference in New Issue
Block a user