From 01fa0616fd52d2cb552ac5046d7554a9488b2e92 Mon Sep 17 00:00:00 2001 From: Satnam Singh Date: Mon, 20 Oct 2014 16:19:41 -0700 Subject: [PATCH] Pass arguments to td-agent with unquoted spaces --- contrib/logging/fluentd-es-image/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/logging/fluentd-es-image/run.sh b/contrib/logging/fluentd-es-image/run.sh index 084e63c2681..48cb1738da8 100755 --- a/contrib/logging/fluentd-es-image/run.sh +++ b/contrib/logging/fluentd-es-image/run.sh @@ -26,4 +26,4 @@ OUTER_HOST=`tail -n 1 /outerhost | awk '{print $3}'` # service IPs are done. # Adjust the name of the host machine for %ES_HOST%. HACK! sed -i -e "s/\%ES_HOST\%/${OUTER_HOST}/" /etc/td-agent/td-agent.conf -/usr/sbin/td-agent $@ +/usr/sbin/td-agent "$@"