mirror of
https://gitee.com/arthas/arthas.git
synced 2024-12-02 04:08:34 +08:00
bug fix when cannot create directory
This commit is contained in:
parent
69fd1ce054
commit
dceb0f1b21
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user