From: Ronen Friedman Date: Mon, 19 Jul 2021 09:57:33 +0000 (+0000) Subject: script: fix a bug in naming the source branch in ceph-debug-docker.sh X-Git-Tag: v17.1.0~1360^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F42396%2Fhead;p=ceph.git script: fix a bug in naming the source branch in ceph-debug-docker.sh Signed-off-by: Ronen Friedman --- diff --git a/src/script/ceph-debug-docker.sh b/src/script/ceph-debug-docker.sh index f73c23e71ff8..836df860eee0 100755 --- a/src/script/ceph-debug-docker.sh +++ b/src/script/ceph-debug-docker.sh @@ -46,9 +46,9 @@ function main { if [ -z "$1" ]; then printf "specify the branch [default \"master:latest\"]: " - read source - if [ -z "$source" ]; then - source=master:latest + read branch + if [ -z "$branch" ]; then + branch=master:latest fi else branch="$1"