mirror of
https://github.com/hiskang/acme.sh
synced 2025-06-26 17:16:12 +00:00
fix _exists
This commit is contained in:
parent
82dc2244c0
commit
ce4be4e91e
2
acme.sh
2
acme.sh
@ -252,7 +252,7 @@ _exists() {
|
||||
eval type "$cmd" >/dev/null 2>&1
|
||||
elif command >/dev/null 2>&1; then
|
||||
command -v "$cmd" >/dev/null 2>&1
|
||||
elif which which >/dev/null 2>&1; then
|
||||
else
|
||||
which "$cmd" >/dev/null 2>&1
|
||||
fi
|
||||
ret="$?"
|
||||
|
Loading…
x
Reference in New Issue
Block a user