From 4b2a7a891c41d30a4825f7cbab7421641d8c716b Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Fri, 18 Jul 2008 21:32:57 +0000 Subject: [PATCH] Fix bug, failed to load DisableRootJobs configuration parameter. --- NEWS | 1 + src/common/read_config.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 571184c5c52..cbe0fb3d44e 100644 --- a/NEWS +++ b/NEWS @@ -28,6 +28,7 @@ documents those changes that are of interest to users and admins. -- Convert configuration parameter PrivateData from on/off flag to have separate flags for job, partition, and node data. See "man slurm.conf" for details. + -- Fix bug, failed to load DisableRootJobs configuration parameter. -- Altered sacctmgr to always return a non-zero exit code on error and send error messages to stderr. diff --git a/src/common/read_config.c b/src/common/read_config.c index 80977a1f882..481189d7269 100644 --- a/src/common/read_config.c +++ b/src/common/read_config.c @@ -1593,7 +1593,7 @@ validate_and_set_defaults(slurm_ctl_conf_t *conf, s_p_hashtbl_t *hashtbl) if (!s_p_get_boolean((bool *) &conf->enforce_part_limits, "EnforcePartLimits", hashtbl)) - conf->disable_root_jobs = DEFAULT_ENFORCE_PART_LIMITS; + conf->enforce_part_limits = DEFAULT_ENFORCE_PART_LIMITS; s_p_get_string(&conf->epilog, "Epilog", hashtbl); -- GitLab