Browse Source

Merge pull request #396 from Neilpang/dev

fix _exists
pull/391/head
neil 8 years ago committed by GitHub
parent
commit
e0cd2cdb9c
  1. 2
      acme.sh

2
acme.sh

@ -249,7 +249,7 @@ _exists() {
fi
if command >/dev/null 2>&1; then
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
fi
ret="$?"

Loading…
Cancel
Save