diff options
author | Simon Rettberg | 2015-06-17 15:54:51 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-06-17 15:54:51 +0200 |
commit | ef4bb7ee0933d6f850f94b542d0617b181c22fdb (patch) | |
tree | 4c294199d242b78ec90f1f5a188bef702c1fa062 /src/main/java/org/openslx/satserver | |
parent | Update CreateAdConfig to match new ldadp config format (diff) | |
download | tmlite-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.java | 3 |
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 ) { |