[Git][root/services/setup-hosts][main] fix: missing \n in get-key-from-bao.sh

Fernando K pushed to branch main at Root / Serviços / Setup Hosts Commits: c1441820 by Fernando Monteiro Kiotheka at 2025-08-06T15:42:27-03:00 fix: missing \n in get-key-from-bao.sh - - - - - 1 changed file: - get-key-from-bao.sh Changes: ===================================== get-key-from-bao.sh ===================================== @@ -7,5 +7,5 @@ private_key=$(printf "%s" "$response" | jq --raw-output .data.private_key) signed_key=$(printf "%s" "$response" | jq --raw-output .data.signed_key) [ "$signed_key" != "null" ] && [ "$private_key" != "null" ] \ || { echo "Failed to retrieve SSH key: SSH key is empty"; exit 1; } -printf "%s" "$private_key" >key && chmod 600 key -printf "%s" "$signed_key" >key-cert.pub && chmod 644 key-cert.pub +printf "%s\n" "$private_key" >key && chmod 600 key +printf "%s\n" "$signed_key" >key-cert.pub && chmod 644 key-cert.pub View it on GitLab: https://gitlab.c3sl.ufpr.br/root/services/setup-hosts/-/commit/c1441820b63bf... -- View it on GitLab: https://gitlab.c3sl.ufpr.br/root/services/setup-hosts/-/commit/c1441820b63bf... You're receiving this email because of your account on gitlab.c3sl.ufpr.br.
participantes (1)
-
Fernando K (@fmkiotheka)