From e0d642c78a22f5d843ae98393647efab41f66eb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 29 Jun 2018 15:51:09 -0400 Subject: [PATCH] backport fix runJobs --- src/prestart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prestart.js b/src/prestart.js index dcc64cf527..1d5a5146ab 100644 --- a/src/prestart.js +++ b/src/prestart.js @@ -67,7 +67,7 @@ function loadConfig(configFile) { }); nconf.stores.env.readOnly = true; - nconf.set('runJobs', nconf.get('isPrimary') && !nconf.get('jobsDisabled')); + nconf.set('runJobs', nconf.get('isPrimary') === 'true' && !nconf.get('jobsDisabled')); } function versionCheck() {