]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
init-ceph: should have a space before "]" 14796/head
authorKefu Chai <kchai@redhat.com>
Wed, 26 Apr 2017 07:12:09 +0000 (15:12 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 26 Apr 2017 07:12:10 +0000 (15:12 +0800)
otherwise we will have

./bin/init-ceph: 269: [: missing ]

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/init-ceph.in

index fda274f201aa3346824799e1df66c6e5ff114e93..26704d62e67355f9ef3ce8ec575c4fed398ccb50 100755 (executable)
@@ -266,7 +266,7 @@ get_name_list "$@"
 
 # Reverse the order if we are stopping
 
-if [ "$command" = "stop" -o "$command" = "onestop"]; then
+if [ "$command" = "stop" -o "$command" = "onestop" ]; then
     for f in $what; do
        new_order="$f $new_order"
     done