Appease shellcheck
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2021-04-07 19:37:35 +02:00
parent 61909b4e34
commit 411ec8c7cd
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ abra_hetzner() {
ip=$(echo "$response" | jq -r ".server .public_net .ipv4 .ip")
if [[ ! -z "$ip" ]]; then
if [[ -n "$ip" ]]; then
error_msg=$(echo "$response" | jq -r ".error .message")
echo "Oops, something went wrong. Hetzner Cloud API responded with: $error_msg"
exit 1