lib/scout/command/run.rb in scout-5.3.1 vs lib/scout/command/run.rb in scout-5.3.2

- old
+ new

@@ -7,10 +7,10 @@ key = @args.first # TODO: this is an awkward way to force creation of the config directory. Could use a little refactoring. configuration_directory = config_dir log.debug("Configuration directory is #{configuration_directory} ") if log # TODO: too much external logic of command doing things TO server. This should be moved into the server class. - @scout = Scout::Server.new(server, key, history, log) + @scout = Scout::Server.new(server, key, history, log, server_name) @scout.load_history unless $stdin.tty? log.info "Sleeping #{@scout.sleep_interval} sec" if log sleep @scout.sleep_interval