diff options
-rwxr-xr-x | src/jobd.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jobd.js b/src/jobd.js index 97a1f05..26b8aa5 100755 --- a/src/jobd.js +++ b/src/jobd.js @@ -364,7 +364,7 @@ function connectToMaster() { const port = config.get('master_port') const host = config.get('master_host') - if (!host || port) { + if (!host || !port) { logger.debug('connectToMaster: master host or port is not defined') return } |