bug fix when cannot create directory

This commit is contained in:
xujiang 2018-12-20 19:03:58 +08:00 committed by hengyunabc
parent 69fd1ce054
commit dceb0f1b21

View File

@ -327,7 +327,7 @@ public class Bootstrap {
if (arthasHomeDir == null) {
boolean checkFile = ARTHAS_LIB_DIR.exists() || ARTHAS_LIB_DIR.mkdirs();
if(!checkFile){
AnsiLog.error("cannot create directory {}: Permission denied", ARTHAS_LIB_DIR.getAbsolutePath());
AnsiLog.error("cannot create directory {}: maybe permission denied", ARTHAS_LIB_DIR.getAbsolutePath());
System.exit(1);
}