notify user when asking for output from a dead process
This commit is contained in:
parent
269e944252
commit
c10988bfde
1 changed files with 4 additions and 0 deletions
|
|
@ -103,6 +103,10 @@ class ProcessController {
|
||||||
* gets output from process
|
* gets output from process
|
||||||
*/
|
*/
|
||||||
public String getOutput(int lines) {
|
public String getOutput(int lines) {
|
||||||
|
if(this.killedManually) {
|
||||||
|
return "[-] SERVER: Process has already been killed by a JobServ client!";
|
||||||
|
}
|
||||||
|
|
||||||
String output = "";
|
String output = "";
|
||||||
for (int i = 0; i < lines; i++) {
|
for (int i = 0; i < lines; i++) {
|
||||||
String newLine = null;
|
String newLine = null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue