Description :A job finishes with status completed instead of Aborted when the script launched by the uproc is killed
Environment
OS: All Unix
Cause
Cause type: By design Root Cause: On unix, the status « completed » or « aborted » of a job depends of the return code of the last line of the uproc's script. Example,If the uproc script is:If you kill the process sleep 120, the global status of the uproc will keep on being completed, since there is an exit 0 ( return code = 0).
Resolution
Modify the uproc script in order to return the error code instead of returning exit 0.