diff --git a/roles/git_auto_update/templates/update.sh b/roles/git_auto_update/templates/update.sh index 582968f..0c1dec5 100644 --- a/roles/git_auto_update/templates/update.sh +++ b/roles/git_auto_update/templates/update.sh @@ -24,7 +24,7 @@ if [ -z "$GPG_FINGERPRINT" ] || (git verify-tag --raw "$TAG" 2>&1 | grep " VALID git reset --hard; git checkout -q "$TAG"; chown -R "$DEST_USER:$DEST_GROUP" .; - if ! sh -c {{ reload_command | default('') | quote }}; then + if ! sh -c {{ reload_command | default('true') | quote }}; then echo "Failed during reload" >&2; exit 2; fi