edits in print messages in kilServer Method

revert-dabc3590
Nirothipan 8 years ago
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…
Cancel
Save