mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-26 15:02:03 +00:00
fix shfmt warnings
This commit is contained in:
parent
e51bef6d12
commit
b97e140389
4
acme.sh
4
acme.sh
@ -249,7 +249,7 @@ _exists() {
|
|||||||
fi
|
fi
|
||||||
if command >/dev/null 2>&1; then
|
if command >/dev/null 2>&1; then
|
||||||
command -v "$cmd" >/dev/null 2>&1
|
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
|
which "$cmd" >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
ret="$?"
|
ret="$?"
|
||||||
@ -259,7 +259,7 @@ _exists() {
|
|||||||
|
|
||||||
#a + b
|
#a + b
|
||||||
_math() {
|
_math() {
|
||||||
printf "%s" "$(( $@ ))"
|
printf "%s" "$(($@))"
|
||||||
}
|
}
|
||||||
|
|
||||||
_h_char_2_dec() {
|
_h_char_2_dec() {
|
||||||
|
Loading…
Reference in New Issue
Block a user