mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
edits in print messages in kilServer Method
This commit is contained in:
parent
702287e09b
commit
6acf7c4225
@ -761,12 +761,14 @@ public class TryIt {
|
|||||||
try {
|
try {
|
||||||
processKillServer = processBuilderKillServer.start();
|
processKillServer = processBuilderKillServer.start();
|
||||||
} catch (IOException ignored) {
|
} catch (IOException ignored) {
|
||||||
// process works if restarted
|
System.out.println("If the device doesn't start properly, stop running the script and restart again");
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
processKillServer.waitFor();
|
if (processKillServer != null) {
|
||||||
|
processKillServer.waitFor();
|
||||||
|
}
|
||||||
} catch (InterruptedException ignored) {
|
} catch (InterruptedException ignored) {
|
||||||
// can be continued
|
System.out.println("If the device doesn't start properly, stop running the script and restart again");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user