Harden Immich restore smoke checks

This commit is contained in:
2026-05-27 18:25:30 +02:00
parent a805f03481
commit 5b0782a8fa
2 changed files with 20 additions and 2 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ require_path() {
}
latest_archive_name() {
docker exec "$BORG_CONTAINER" python3 - <<'PY'
docker exec -i "$BORG_CONTAINER" python3 - <<'PY'
import sqlite3
conn = sqlite3.connect('/data/borg.db')
cur = conn.cursor()
@@ -34,7 +34,7 @@ PY
}
borg_repo_url() {
docker exec "$BORG_CONTAINER" python3 - <<'PY'
docker exec -i "$BORG_CONTAINER" python3 - <<'PY'
import sqlite3
conn = sqlite3.connect('/data/borg.db')
cur = conn.cursor()