allow config to determine webserver enabled if no --noserver cli opt

This commit is contained in:
Michael Bradley, Jr 2018-09-17 17:48:22 -05:00
parent a966ecb131
commit 638fb4ee27
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ class Cmd {
serverHost: nullify(options.host), serverHost: nullify(options.host),
client: options.client || 'geth', client: options.client || 'geth',
locale: options.locale, locale: options.locale,
runWebserver: !options.noserver, runWebserver: options.noserver == null ? null : !options.noserver,
useDashboard: !options.nodashboard, useDashboard: !options.nodashboard,
logFile: options.logfile, logFile: options.logfile,
logLevel: options.loglevel, logLevel: options.loglevel,