summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/src/main/java/org/openslx/taskmanager/api/SystemCommandTask.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/main/java/org/openslx/taskmanager/api/SystemCommandTask.java b/api/src/main/java/org/openslx/taskmanager/api/SystemCommandTask.java
index d5a3b64..7b67c12 100644
--- a/api/src/main/java/org/openslx/taskmanager/api/SystemCommandTask.java
+++ b/api/src/main/java/org/openslx/taskmanager/api/SystemCommandTask.java
@@ -96,7 +96,7 @@ public abstract class SystemCommandTask extends AbstractTask
stderr.start();
// Wait for everything
- int retval = -1;
+ int retval = 124; // Default to 124, which is what the timeout util does
if ( this.timeoutSeconds <= 0 ) {
retval = process.waitFor();
} else {