Merge pull request #685 from bernd/fix-fail-invocation

Fix fail() invocation if no config file is given
This commit is contained in:
Jordan Sissel 2013-10-08 12:21:59 -07:00
commit 1aaeb41962

View file

@ -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