Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cdn
taskman-lite
Commits
7cb0f7c2
Commit
7cb0f7c2
authored
9 years ago
by
Simon Rettberg
Browse files
Options
Download
Email Patches
Plain Diff
[SystemCommandTask] Return 124 as exit code on timeout
parent
4c974ca2
master
develop
merge
2 merge requests
!3
Develop
,
!2
Merge with germany
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
api/src/main/java/org/openslx/taskmanager/api/SystemCommandTask.java
+1
-1
...n/java/org/openslx/taskmanager/api/SystemCommandTask.java
with
1 addition
and
1 deletion
+1
-1
api/src/main/java/org/openslx/taskmanager/api/SystemCommandTask.java
+
1
-
1
View file @
7cb0f7c2
...
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help