summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/satserver
diff options
context:
space:
mode:
authorSimon Rettberg2015-06-17 15:54:51 +0200
committerSimon Rettberg2015-06-17 15:54:51 +0200
commitef4bb7ee0933d6f850f94b542d0617b181c22fdb (patch)
tree4c294199d242b78ec90f1f5a188bef702c1fa062 /src/main/java/org/openslx/satserver
parentUpdate CreateAdConfig to match new ldadp config format (diff)
downloadtmlite-bwlp-ef4bb7ee0933d6f850f94b542d0617b181c22fdb.tar.gz
tmlite-bwlp-ef4bb7ee0933d6f850f94b542d0617b181c22fdb.tar.xz
tmlite-bwlp-ef4bb7ee0933d6f850f94b542d0617b181c22fdb.zip
Add new tasks, add timeouts to system process tasks
Diffstat (limited to 'src/main/java/org/openslx/satserver')
-rw-r--r--src/main/java/org/openslx/satserver/util/Exec.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/org/openslx/satserver/util/Exec.java b/src/main/java/org/openslx/satserver/util/Exec.java
index b7de984..e273409 100644
--- a/src/main/java/org/openslx/satserver/util/Exec.java
+++ b/src/main/java/org/openslx/satserver/util/Exec.java
@@ -47,10 +47,11 @@ public class Exec
// Wait...
}
}
+ // Timeout
return -1;
}
} catch ( IOException | InterruptedException e ) {
- return -1;
+ return -2;
} finally {
try {
if ( p != null ) {