Better Layout of messages

This commit is contained in:
m8in
2026-06-22 01:55:40 +02:00
parent 7ff568de1d
commit 8044d776d8
3 changed files with 23 additions and 18 deletions
@@ -139,7 +139,8 @@ base.set RECEIVERS_SNAPSHOT "${4}" "${REGEX[SNAPSHOT]}" optional
base.set RESUME_TOKEN "${5}" '^[a-zA-Z0-9][a-zA-Z0-9._:-]*$' optional
! composition.shouldBeSyncedByGivenHost "${COMPOSITION}" "${RECEIVERHOST}" \
&& base.abort "The host '${RECEIVERHOST}' is no sync-host for composition: '${COMPOSITION}'"
&& base.abort "no sync-host available" \
"Host '${RECEIVERHOST}' is no sync-host for composition: '${COMPOSITION}'"
# Resume mode
if [ "${RECEIVERS_SNAPSHOT}" == "@RESUME" ] && [ -n "${RESUME_TOKEN}" ]; then