mirror of https://github.com/ceph/ceph-ansible.git
backport_to_stable_branch: fix redirection
2> to redirect stderr not 2&> Signed-off-by: Sébastien Han <seb@redhat.com>pull/1134/merge
parent
d0fa3930fc
commit
e189d7caa6
|
@ -20,7 +20,7 @@ bkp_branch=$bkp_branch_name-$bkp_branch_name_prefix
|
|||
|
||||
verify_commit () {
|
||||
for com in ${commit//,/ }; do
|
||||
if [[ $(git cat-file -t "$com" 2&>/dev/null) != commit ]]; then
|
||||
if [[ $(git cat-file -t "$com" 2>/dev/null) != commit ]]; then
|
||||
echo "$com does not exist in your tree"
|
||||
echo "Run 'git fetch origin master && git pull origin master'"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue