diff --git a/src/common/read_config.c b/src/common/read_config.c index d85ed0b46195703103c1a8405932f55b6abdac79..1bafc7fb15419a4e280412f2858bba0633fed85a 100644 --- a/src/common/read_config.c +++ b/src/common/read_config.c @@ -2315,6 +2315,8 @@ _validate_and_set_defaults(slurm_ctl_conf_t *conf, s_p_hashtbl_t *hashtbl) if (conf->preempt_mode == PREEMPT_MODE_SUSPEND) fatal("PreemptMode=SUSPEND requires GANG too"); xfree(temp_str); + } else { + conf->preempt_mode = PREEMPT_MODE_OFF; } if (!s_p_get_string(&conf->preempt_type, "PreemptType", hashtbl)) conf->preempt_type = xstrdup(DEFAULT_PREEMPT_TYPE);