From 15d80c8d43d4d98d33ad7aff220193254166a170 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sun, 5 Jul 2020 21:11:18 +0200 Subject: [PATCH] git_auto_update: Changed message for failed reload_command --- roles/git_auto_update/templates/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/git_auto_update/templates/update.sh b/roles/git_auto_update/templates/update.sh index 587c612..9f9e7c6 100644 --- a/roles/git_auto_update/templates/update.sh +++ b/roles/git_auto_update/templates/update.sh @@ -26,7 +26,7 @@ if [ -z "$GPG_FINGERPRINT" ] || (git verify-tag --raw "$TAG" 2>&1 | grep --fixed git checkout --quiet --recurse-submodules "$TAG"; chown --recursive "$DEST_USER:$DEST_GROUP" .; if ! sh -c {{ reload_command | default('true') | quote }}; then - echo "Failed during reload" >&2; + echo "Reload command failed" >&2; exit 2; fi else