From 61ca95ae5929928ebfa50b8d99b18cf21c3e2ca7 Mon Sep 17 00:00:00 2001 From: Sam Scholten Date: Wed, 22 Oct 2025 16:44:53 +1000 Subject: Fix: Replace unsupported restic flags for 0.18.1 compatibility - Replace --lock-retry-after and --lock-stale-timeout with --retry-lock - Fix shell script quoting issues (SC2086, SC2046) - All tests passing: local, remote, lint, format --- restic_check.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'restic_check.sh') diff --git a/restic_check.sh b/restic_check.sh index c8271ea..278b2fe 100755 --- a/restic_check.sh +++ b/restic_check.sh @@ -34,8 +34,7 @@ restic check \ --password-file "${RESTIC_PASSWORD_FILE}" \ --read-data-subset 1% \ --no-cache \ - --lock-retry-after 5m \ - --lock-stale-timeout 24h \ + --retry-lock 5m \ --verbose || { echo "Error: Restic check failed." >&2 notify "Restic Check ($(whoami)@$(hostname))" "Weekly integrity check failed!" 8 -- cgit v1.2.3