From 928697de97247a76a5fa65586de74563641a4770 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Tue, 3 Sep 2019 15:27:57 +0200 Subject: [PATCH] script/ceph-backport.sh: if --prepare succeeds, continue Signed-off-by: Nathan Cutler --- src/script/ceph-backport.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/script/ceph-backport.sh b/src/script/ceph-backport.sh index 8893ece701e..1a67c179ef1 100755 --- a/src/script/ceph-backport.sh +++ b/src/script/ceph-backport.sh @@ -273,8 +273,6 @@ function prepare { git cherry-pick -x "pr-$original_pr~$i" done info "Cherry picked $number commits from ${github_endpoint}/pull/${original_pr} into local branch $local_branch" - - exit 0 } if git show-ref HEAD >/dev/null 2>&1 ; then @@ -346,7 +344,7 @@ fi if [[ $* == *--prepare* ]]; then debug "'--prepare' found, will only prepare the backport" - prepare # does not return + prepare fi debug "Pushing local branch $local_branch to remote $github_repo" -- 2.39.5