Skip to content
Snippets Groups Projects
Commit aa8f8795 authored by Moe Jette's avatar Moe Jette
Browse files

Fix srun bug when --input, --output and --error are all "none"

parent 6b911d2b
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ documents those changes that are of interest to users and admins.
-- Add support for NodeHostname in node configuration
-- Make "scontrol show daemons" function properly on front-end system
(e.g. Blue Gene)
-- Fix srun bug when --input, --output and --error are all "none"
* Changes in SLURM 0.4.0-pre3
=============================
......
......@@ -41,13 +41,13 @@ fname_create(job_t *job, char *format)
if ((format == NULL)
|| (strncasecmp(format, "all", (size_t) 3) == 0)
|| (strncmp(format, "-", (size_t) 1) == 0) ) {
fname->type = IO_ALL;
fname->name = NULL;
/* fname->type = IO_ALL; */
/* fname->name = NULL; */
return fname;
}
if (strncasecmp(format, "none", (size_t) 4) == 0) {
fname->type = IO_NONE;
/* fname->type = IO_ALL; */
fname->name = "/dev/null";
return fname;
}
......
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