diff --git a/rabbitmq-script-wrapper b/rabbitmq-script-wrapper index 1003755..38611c5 100644 --- a/rabbitmq-script-wrapper +++ b/rabbitmq-script-wrapper @@ -20,7 +20,7 @@ CMDLINE="" for arg in "$@" ; do # Escape quotes in parameters, so that they're passed through cleanly. arg=$(sed -e 's/"/\\"/g' <<-END - $arg +$arg END ) CMDLINE="${CMDLINE} \"${arg}\""