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

CRAY - If a job was already added then don't print an error if you knew

it was going to.
parent a57b7d28
No related branches found
No related tags found
No related merge requests found
......@@ -302,7 +302,7 @@ extern int container_p_create(uint32_t job_id)
#ifdef HAVE_NATIVE_CRAY
rc = job_create_reservation(resv_id, CREATE_FLAGS);
if ((rc == 0) || (errno == EEXIST)) {
if ((rc != 0) && (errno == EEXIST)) {
if ((found == -1) && (rc != 0) && (errno == EEXIST)) {
error("%s: create(%u): Reservation already exists",
plugin_type, job_id);
}
......
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