mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
Merge pull request #685 from bernd/fix-fail-invocation
Fix fail() invocation if no config file is given
This commit is contained in:
commit
1aaeb41962
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class LogStash::Agent < Clamp::Command
|
|||
|
||||
# You must specify a config_string or config_path
|
||||
if config_string.nil? && config_path.nil?
|
||||
fail(help + "\n", I18n.t("logstash.agent.missing-configuration"))
|
||||
fail(help + "\n" + I18n.t("logstash.agent.missing-configuration"))
|
||||
end
|
||||
|
||||
if @config_path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue