From 943e3c0aa732b28a9568a32c5f8206a1726a11c6 Mon Sep 17 00:00:00 2001 From: Terranom674 Date: Mon, 17 Aug 2026 22:43:47 +0200 Subject: [PATCH] NC Connector: persist concrete auth failure details --- runtime/sync.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/sync.sh b/runtime/sync.sh index 3ee9812..5f3471a 100644 --- a/runtime/sync.sh +++ b/runtime/sync.sh @@ -186,6 +186,8 @@ if [[ "${PIWIGO_SYNC_ENABLED:-0}" == "1" ]]; then if [[ "$PIWIGO_EXIT" -ne 0 ]]; then ERROR_DETAIL="$(tail -n 3 <<<"$PIWIGO_OUTPUT" | tr '\n' ' ' | sed 's/[[:space:]]\+/ /g; s/[[:space:]]$//')" + trap - ERR + write_status error "Synchronisierung fehlgeschlagen" exit "$PIWIGO_EXIT" fi fi