Skip to content
Snippets Groups Projects
Commit 79a5d301 authored by Mark Grondona's avatar Mark Grondona
Browse files

o Do not allow setting -d,--slurmd-debug to greater than 4.

parent 86beed44
No related branches found
No related tags found
No related merge requests found
......@@ -948,6 +948,10 @@ _opt_verify(poptContext optctx)
{
bool verified = true;
if (opt.slurmd_debug + LOG_LEVEL_INFO > LOG_LEVEL_DEBUG2)
opt.slurmd_debug = LOG_LEVEL_DEBUG2 - LOG_LEVEL_INFO;
if (opt.no_alloc && !opt.nodelist) {
error("must specify a node list with -Z, --no-allocate.");
verified = false;
......
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