From 7575094cf34e6e218fbad9face68362360b2eedb Mon Sep 17 00:00:00 2001 From: neilpang Date: Wed, 16 Nov 2016 23:53:32 +0800 Subject: [PATCH] fix _exists --- acme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme.sh b/acme.sh index ba4688c..280cb41 100755 --- a/acme.sh +++ b/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="$?"