Commit 5ab10c85 authored by Marshall Garey's avatar Marshall Garey Committed by Brian Christiansen
Browse files

Fix srun --prolog=none and --epilog=none to behave as documented

The srun man page states that --prolog=none or --epilog=none would
prevent the SrunProlog or SrunEpilog scripts defined in slurm.conf from
running. However, with SLURM_TEST_EXEC set in the environment, srun
would look for a script named "none" and run it if found. If not found,
then srun would print an error message, but the SrunProlog or
SrunEpilog would (correctly) not run.

* Prevent srun from running a script named "none" that is in the path.
* This also prevents the error message if it is not found.

Bug 5948.
parent 08a14ca7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment