- rabbitmqctl: clear CMDLINE before appending
OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-server?expand=0&rev=64
This commit is contained in:
parent
cd449e3e02
commit
f214bbacb6
@ -16,13 +16,14 @@
|
||||
##
|
||||
|
||||
# Escape spaces and quotes, because shell is revolting.
|
||||
CMDLINE=""
|
||||
for arg in "$@" ; do
|
||||
# Escape quotes in parameters, so that they're passed through cleanly.
|
||||
arg=$(sed -e 's/"/\\"/g' <<-END
|
||||
$arg
|
||||
END
|
||||
)
|
||||
CMDLINE="${CMDLINE} \"${arg}\""
|
||||
# Escape quotes in parameters, so that they're passed through cleanly.
|
||||
arg=$(sed -e 's/"/\\"/g' <<-END
|
||||
$arg
|
||||
END
|
||||
)
|
||||
CMDLINE="${CMDLINE} \"${arg}\""
|
||||
done
|
||||
|
||||
cd /var/lib/rabbitmq
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 28 10:01:29 UTC 2015 - dmueller@suse.com
|
||||
|
||||
- rabbitmqctl: clear CMDLINE before appending
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 24 10:17:52 UTC 2015 - dmueller@suse.com
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user