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

Add slashes in front of derived exit code when modifying a job.

parent a178318f
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,7 @@ documents those changes that are of interest to users and admins. ...@@ -13,6 +13,7 @@ documents those changes that are of interest to users and admins.
-- Fixed issue with QOS preemption when adding new QOS. -- Fixed issue with QOS preemption when adding new QOS.
-- Fixed issue with comment field being used in a job finishing before it -- Fixed issue with comment field being used in a job finishing before it
starts in accounting. starts in accounting.
-- Add slashes in front of derived exit code when modifying a job.
* Changes in SLURM 2.3.2 * Changes in SLURM 2.3.2
======================== ========================
......
...@@ -584,9 +584,11 @@ extern List as_mysql_modify_job(mysql_conn_t *mysql_conn, uint32_t uid, ...@@ -584,9 +584,11 @@ extern List as_mysql_modify_job(mysql_conn_t *mysql_conn, uint32_t uid,
if (job->derived_ec != NO_VAL) if (job->derived_ec != NO_VAL)
xstrfmtcat(vals, ", derived_ec=%u", job->derived_ec); xstrfmtcat(vals, ", derived_ec=%u", job->derived_ec);
if (job->derived_es) if (job->derived_es) {
xstrfmtcat(vals, ", derived_es='%s'", job->derived_es); char *derived_es = slurm_add_slash_to_quotes(job->derived_es);
xstrfmtcat(vals, ", derived_es='%s'", derived_es);
xfree(derived_es);
}
if (!vals) { if (!vals) {
errno = SLURM_NO_CHANGE_IN_DATA; errno = SLURM_NO_CHANGE_IN_DATA;
error("No change specified for job modification"); error("No change specified for job modification");
......
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