mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
Merge branch 'master' into fix-timestamp
This commit is contained in:
@@ -64,12 +64,12 @@ public class RedefineCommand extends AnnotatedCommand {
|
||||
for (String path : paths) {
|
||||
File file = new File(path);
|
||||
if (!file.exists()) {
|
||||
process.write("path is not exists, path:" + path + "\n");
|
||||
process.write("file does not exist, path:" + path + "\n");
|
||||
process.end();
|
||||
return;
|
||||
}
|
||||
if (!file.isFile()) {
|
||||
process.write("path is not a normal file, path:" + path + "\n");
|
||||
process.write("not a normal file, path:" + path + "\n");
|
||||
process.end();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user