From f69c336e870a5c5a93725c1486905ff067fd9538 Mon Sep 17 00:00:00 2001 From: jwindley <jwindley@unknown> Date: Thu, 20 Nov 2003 17:22:27 +0000 Subject: [PATCH] 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. --- src/srun/opt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/srun/opt.c b/src/srun/opt.c index 0aeba2a8c33..3f200abe62f 100644 --- a/src/srun/opt.c +++ b/src/srun/opt.c @@ -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 -- GitLab