From: luo rixin Date: Mon, 16 Dec 2019 02:32:01 +0000 (+0800) Subject: stop.sh: use bash shell to solve syntax error X-Git-Tag: v15.1.0~462^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F32263%2Fhead;p=ceph.git stop.sh: use bash shell to solve syntax error When running on ubuntu 18.04 for aarch64, there is syntax error in line 52, caused by the /bin/sh is defalut to dash, which is not support array type. Signed-off-by: luo rixin --- diff --git a/src/stop.sh b/src/stop.sh index 0a71752d1d4..c539e0bf30c 100755 --- a/src/stop.sh +++ b/src/stop.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # # Copyright (C) 2013 Inktank # Copyright (C) 2013 Cloudwatt