Skip to content
Snippets Groups Projects
Commit f69c336e authored by jwindley's avatar jwindley
Browse files

Change clamp test for opt.slurmd_debug to use LOG_LEVEL_DEBUG3 as the upper...

Change clamp test for opt.slurmd_debug to use LOG_LEVEL_DEBUG3 as the upper limit.  This seems to be what's intended by the man page.
parent 491578d7
No related branches found
No related tags found
No related merge requests found
......@@ -893,8 +893,8 @@ static bool _opt_verify(void)
bool verified = true;
uid_t euid;
if (opt.slurmd_debug + LOG_LEVEL_ERROR > LOG_LEVEL_DEBUG2)
opt.slurmd_debug = LOG_LEVEL_DEBUG2 - LOG_LEVEL_ERROR;
if (opt.slurmd_debug + LOG_LEVEL_ERROR > LOG_LEVEL_DEBUG3)
opt.slurmd_debug = LOG_LEVEL_DEBUG3 - LOG_LEVEL_ERROR;
/*
* If we are root and have been asked to submit as another
......
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