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