Merge pull request #17057 from mikulely/enhance-vstart

vstart.sh: quote cmd params when display executing cmd

Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Sage Weil 2017-08-29 17:13:21 -05:00 committed by GitHub
commit ededa106be

View File

@ -360,12 +360,12 @@ fi
ARGS="-c $conf_fn"
prunb() {
echo "$* &"
printf "'%s' " "$@"; echo '&'
"$@" &
}
prun() {
echo "$*"
printf "'%s' " "$@"; echo
"$@"
}