From dbcd0ae916bb5d2e80c7cba50f8f2b8b5c809fc0 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 26 Apr 2017 15:12:09 +0800 Subject: [PATCH] init-ceph: should have a space before "]" otherwise we will have ./bin/init-ceph: 269: [: missing ] Signed-off-by: Kefu Chai --- src/init-ceph.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3