replace echo with printf for reliability

This commit is contained in:
Asif Bacchus 2019-11-18 05:01:56 -07:00
parent f9d620cf08
commit fc14c0d0b6

View File

@ -92,7 +92,7 @@ checkExist 'file' './ab-nginx.params'
# fix case of TLS13_ONLY var # fix case of TLS13_ONLY var
if [ "$TLS13_ONLY" ]; then if [ "$TLS13_ONLY" ]; then
TLS13_ONLY=$( echo "$TLS13_ONLY" | tr "[:lower:]" "[:upper:]" ) TLS13_ONLY=$( printf "%s" "$TLS13_ONLY" | tr "[:lower:]" "[:upper:]" )
fi fi
# check for certs if using SSL # check for certs if using SSL