]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
vstart: cleanup echoed commands and sh issues
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 8 Jul 2016 22:28:19 +0000 (18:28 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Sun, 24 Jul 2016 16:46:09 +0000 (12:46 -0400)
commita586ce2eec987b9d37df2b713d571653a53b101d
treebb700169b54e6f2a5e146b9fd102ea0f4d10e08f
parentb0029b3d3d9441149db0d9f3ed699be35fd36cea
vstart: cleanup echoed commands and sh issues

o Add prun/prunb for echoing out a command and running it.
o Add quotes around some variables to prevent word splitting.
o Use "$@" instead of $* or (it is incorrect but often works anyway).
o Sprinkle in some extra command prints.
o Use function for ceph_adm rather than command prefixing.

I also corrected some whitespace where tab/spaces were mixed in the diff.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/vstart.sh