diff --git a/lib/certMgr.js b/lib/certMgr.js index c231580..267859e 100644 --- a/lib/certMgr.js +++ b/lib/certMgr.js @@ -86,7 +86,7 @@ function isRootCAFileExists(){ } function checkRootCA(){ - if(!isRootCAFileExists() || true){ + if(!isRootCAFileExists()){ logUtil.printLog(color.red("can not find rootCA.crt or rootCA.key"), logUtil.T_ERR); logUtil.printLog(color.red("you may generate one by the following methods"), logUtil.T_ERR); logUtil.printLog(color.red("\twhen using globally : anyproxy --root"), logUtil.T_ERR);