]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart.sh: should quote the parameters to get them quoted 18523/head
authorKefu Chai <kchai@redhat.com>
Wed, 25 Oct 2017 02:19:14 +0000 (10:19 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 25 Oct 2017 02:19:14 +0000 (10:19 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/vstart.sh

index a0db91523c37ed33f886164f4672210dee4b3ba7..ac5f1907f85b018e1821bc5f795343b9fc1d3f4f 100755 (executable)
@@ -378,12 +378,12 @@ quoted_print() {
 }
 
 prunb() {
-    quoted_print $* '&'
+    quoted_print "$@" '&'
     "$@" &
 }
 
 prun() {
-    quoted_print $*
+    quoted_print "$@"
     "$@"
 }