Merge pull request #6109 from liewegas/wip-13214

init-rbdmap: fix CMDPARAMS

Reviewed-by: Nathan Cutler <ncutler@suse.com>
This commit is contained in:
Sage Weil 2015-09-30 08:31:48 -04:00
commit b947acbcaa

View File

@ -48,6 +48,7 @@ do_map() {
RET_OP=0
OIFS=$IFS
IFS=','
CMDPARAMS=""
for PARAM in ${PARAMS[@]}; do
CMDPARAMS="$CMDPARAMS --$(echo $PARAM | tr '=' ' ')"
done