mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Fix default value handling
This commit is contained in:
parent
61c2fdd765
commit
1eb240e166
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class LogStash::Agent < Clamp::Command
|
|||
# Append the config string.
|
||||
# This allows users to provide both -f and -e flags. The combination
|
||||
# is rare, but useful for debugging.
|
||||
@config_string += load_config(@config_path)
|
||||
@config_string = config_string + load_config(@config_path)
|
||||
else
|
||||
# include a default stdin input if no inputs given
|
||||
if @config_string !~ /input *{/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue