Skip to content
Snippets Groups Projects
Commit 1cf4f566 authored by Marshall Garey's avatar Marshall Garey Committed by Brian Christiansen
Browse files

Simplify and harden parsing of the srun --distribution option


This simplifies the code, removing an unnecessary loop and strtok. It
also strictly enforces syntax that is documented in the srun man page.

Bug 9368

Co-authored-by: default avatarBrian Christiansen <brian@schedmd.com>
parent af435199
No related branches found
No related tags found
Loading
Loading
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