Skip to content
Snippets Groups Projects
Commit a3c1bf36 authored by Christopher J. Morrone's avatar Christopher J. Morrone
Browse files

Fix missing %s remote filename option

parent f9c19aa7
No related branches found
No related tags found
No related merge requests found
...@@ -83,6 +83,11 @@ fname_create(slurmd_job_t *job, const char *format, int taskid) ...@@ -83,6 +83,11 @@ fname_create(slurmd_job_t *job, const char *format, int taskid)
} }
switch (*p) { switch (*p) {
case 's': /* '%s' => step id */
xmemcat(name, q, p - 1);
xstrfmtcat(name, "%0*d", wid, job->stepid);
q = ++p;
break;
case 't': /* '%t' => taskid */ case 't': /* '%t' => taskid */
xmemcat(name, q, p - 1); xmemcat(name, q, p - 1);
xstrfmtcat(name, "%0*d", wid, taskid); xstrfmtcat(name, "%0*d", wid, taskid);
......
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