From: Kefu Chai Date: Wed, 26 Apr 2017 07:12:09 +0000 (+0800) Subject: init-ceph: should have a space before "]" X-Git-Tag: v12.0.3~237^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F14796%2Fhead;p=ceph.git init-ceph: should have a space before "]" otherwise we will have ./bin/init-ceph: 269: [: missing ] Signed-off-by: Kefu Chai --- diff --git a/src/init-ceph.in b/src/init-ceph.in index fda274f201aa..26704d62e673 100755 --- a/src/init-ceph.in +++ b/src/init-ceph.in @@ -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