mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-14 02:11:45 +00:00
fix _exists
This commit is contained in:
parent
ac26f84170
commit
7575094cf3
2
acme.sh
2
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
|
||||||
elif which >/dev/null 2>&1; then
|
elif which ls >/dev/null 2>&1; then
|
||||||
which "$cmd" >/dev/null 2>&1
|
which "$cmd" >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
ret="$?"
|
ret="$?"
|
||||||
|
Loading…
Reference in New Issue
Block a user