more detail in error message

pull/2502/head
Sean Beckett 2015-05-06 13:30:31 -07:00
parent b8cf01dd4a
commit f3957714ae
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ func (cmd *RunCommand) CheckConfig() {
// Validate that we have a sane config
if !(cmd.config.Data.Enabled || cmd.config.Broker.Enabled) {
log.Fatal("Node must be configured as a broker node, data node, or as both. Run `influxd config` to generate a valid configuration.")
log.Fatal("Node must be configured as a broker node, data node, or as both. Run `influxd config > /usr/local/etc/influxdb.conf` to generate a valid configuration.")
}
if cmd.config.Broker.Enabled && cmd.config.Broker.Dir == "" {