Skip to content
Snippets Groups Projects
Commit 7cb0f7c2 authored by Simon Rettberg's avatar Simon Rettberg
Browse files

[SystemCommandTask] Return 124 as exit code on timeout

parent 4c974ca2
No related branches found
No related tags found
2 merge requests!3Develop,!2Merge with germany
...@@ -96,7 +96,7 @@ public abstract class SystemCommandTask extends AbstractTask ...@@ -96,7 +96,7 @@ public abstract class SystemCommandTask extends AbstractTask
stderr.start(); stderr.start();
// Wait for everything // Wait for everything
int retval = -1; int retval = 124; // Default to 124, which is what the timeout util does
if ( this.timeoutSeconds <= 0 ) { if ( this.timeoutSeconds <= 0 ) {
retval = process.waitFor(); retval = process.waitFor();
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment