Skip to content
Snippets Groups Projects
Commit 27dd2a39 authored by Danny Auble's avatar Danny Auble
Browse files

apply patch to postgres

parent e75b986d
No related branches found
No related tags found
No related merge requests found
......@@ -893,13 +893,14 @@ js_pg_step_complete(pgsql_conn_t *pg_conn,
elapsed = 0; /* For *very* short jobs, if clock is wrong */
exit_code = step_ptr->exit_code;
if (exit_code == NO_VAL) {
if (WIFSIGNALED(exit_code)) {
comp_status = JOB_CANCELLED;
exit_code = 0;
} else if (exit_code)
comp_status = JOB_FAILED;
else
else {
step_ptr->requid = -1;
comp_status = JOB_COMPLETE;
}
/* figure out the ave of the totals sent */
if(cpus > 0) {
......
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