Use printf instead of echo, hopefully fix SC2039.

This commit is contained in:
raidenii 2018-03-01 14:29:14 -05:00
parent 50a9145386
commit 19277aec87
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ _saveaccountconf Namecom_Token "$Namecom_Token"
# Auth string
# Name.com API v4 uses http basic auth to authenticate
# need to convert the token for http auth
_namecom_auth=`echo -n "$Namecom_Username:$Namecom_Token" | base64`
_namecom_auth=`printf "$Namecom_Username:$Namecom_Token" | base64`
#Usage: dns_namecom_add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs"
dns_namecom_add() {