From fc14c0d0b6ce8262de89fa91c8b113fb624a9785 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Mon, 18 Nov 2019 05:01:56 -0700 Subject: [PATCH] replace echo with printf for reliability --- ab-nginx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ab-nginx.sh b/ab-nginx.sh index d80f1a8..470dac6 100755 --- a/ab-nginx.sh +++ b/ab-nginx.sh @@ -92,7 +92,7 @@ checkExist 'file' './ab-nginx.params' # fix case of TLS13_ONLY var if [ "$TLS13_ONLY" ]; then - TLS13_ONLY=$( echo "$TLS13_ONLY" | tr "[:lower:]" "[:upper:]" ) + TLS13_ONLY=$( printf "%s" "$TLS13_ONLY" | tr "[:lower:]" "[:upper:]" ) fi # check for certs if using SSL