agolo / logstash-test-runner

Logstash configuration testing framework
https://blog.agolo.com/the-easy-way-to-test-your-logstash-configuration-3f80eb5ffd59
MIT License
103 stars 25 forks source link

fix check for input params #9

Closed jeffgreenca closed 5 years ago

jeffgreenca commented 5 years ago

Fix bash strict mode throwing "unbound variable" error if only one param provided. Also, use common syntax for empty var check.

agolomoodysaada commented 5 years ago

Thanks!