mirror of
https://github.com/anikeen-com/acme.sh.git
synced 2026-11-01 13:29:07 +00:00
fix _exists
This commit is contained in:
1 parent
82dc2244c0
commit
ce4be4e91e
1 file changed
+1
-1
@@ -252,7 +252,7 @@ _exists() {
|
|||||||
eval type "$cmd" >/dev/null 2>&1
|
eval type "$cmd" >/dev/null 2>&1
|
||||||
elif command >/dev/null 2>&1; then
|
elif command >/dev/null 2>&1; then
|
||||||
command -v "$cmd" >/dev/null 2>&1
|
command -v "$cmd" >/dev/null 2>&1
|
||||||
elif which which >/dev/null 2>&1; then
|
else
|
||||||
which "$cmd" >/dev/null 2>&1
|
which "$cmd" >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
ret="$?"
|
ret="$?"
|
||||||
|
|||||||
Reference in new issue
Block a user