From b97e1403891ac9f38911bea9baf8c77f6d12c502 Mon Sep 17 00:00:00 2001 From: neilpang Date: Fri, 11 Nov 2016 22:07:49 +0800 Subject: [PATCH] fix shfmt warnings --- acme.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acme.sh b/acme.sh index 5a42595f..bd61d11e 100755 --- a/acme.sh +++ b/acme.sh @@ -249,7 +249,7 @@ _exists() { fi if command >/dev/null 2>&1; then command -v "$cmd" >/dev/null 2>&1 - else which >/dev/null 2>&1; + elif which >/dev/null 2>&1; which "$cmd" >/dev/null 2>&1 fi ret="$?" @@ -259,7 +259,7 @@ _exists() { #a + b _math() { - printf "%s" "$(( $@ ))" + printf "%s" "$(($@))" } _h_char_2_dec() {