Zond: убрана информация для отладки
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
group = 'asys'
|
||||
version = '0.7.15-SNAPSHOT'
|
||||
version = '0.7.16-SNAPSHOT'
|
||||
|
||||
apply plugin: 'application'
|
||||
|
||||
@@ -46,5 +46,4 @@ dependencies {
|
||||
included group: 'io.netty', name: 'netty-codec', version: nettyVersion
|
||||
included group: 'com.google.guava', name: 'guava', version: '21.0'
|
||||
included group: 'com.sun.jna', name: 'jna', version: '3.0.9'
|
||||
|
||||
}
|
||||
|
||||
@@ -69,12 +69,9 @@ public class ZondExecuteWatchdog extends ExecuteWatchdog {
|
||||
if (pid != -1 && cmdkiller != null && !cmdkiller.isEmpty()) {
|
||||
try {
|
||||
String cmd = cmdkiller.replace("%PID", String.valueOf(pid));
|
||||
Shell.getInstance().getOutput().println("CMDKILL: '" + cmd + "'");
|
||||
Runtime.getRuntime().exec(cmd);
|
||||
} catch (IOException ignore) {
|
||||
}
|
||||
} else {
|
||||
Shell.getInstance().getOutput().println("PID = -1");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user