We've defined "don't use kist" as a negative interval, so don't check for -1
Of course `== -1` doesn't make sense when KISTSchedRunInterval is a unsigned as it currently is (legacy/trac#23538) ``` @@ -288,9 +288,9 @@ select_scheduler(void) case SCHEDULER_KIST: if (!scheduler_can_use_kist()) { #ifdef HAVE_KIST_SUPPORT - if (get_options()->KISTSchedRunInterval == -1) { + if (get_options()->KISTSchedRunInterval < 0) { log_info(LD_SCHED, "Scheduler type KIST can not be used. It is " - "disabled because KISTSchedRunInterval=-1"); + "disabled because KISTSchedRunInterval is < 0"); } else { log_notice(LD_SCHED, "Scheduler type KIST has been disabled by " "the consensus."); ```
issue