瀏覽代碼

fix _exists

neil 9 年之前
父節點
當前提交
ce4be4e91e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      acme.sh

+ 1 - 1
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="$?"