diff --git a/MAC/Services/src/PipelineControl.py b/MAC/Services/src/PipelineControl.py index 851c0701aa3757fbae14feb2a022c7e6f1d35386..ffee99a53ac3c863536f48f4c61caf6ae1ff87ab 100755 --- a/MAC/Services/src/PipelineControl.py +++ b/MAC/Services/src/PipelineControl.py @@ -424,9 +424,6 @@ class PipelineControl(OTDBBusListener): # Enforce the dependencies, instead of creating lingering jobs "--kill-on-invalid-dep=yes", - # Restart job if a node fails - "--requeue", - # Maximum run time for job (31 days) "--time=31-0", @@ -471,11 +468,11 @@ function runcmd {{ PID=$! wait $PID # returns the exit status of "wait" if interrupted wait $PID # returns the exit status of $PID - RESULT=$? + CMDRESULT=$? trap - SIGTERM SIGINT - return $RESULT + return $CMDRESULT }} # print some info