Skip to content

Commit

Permalink
Merge pull request ceph#30398 from tspmelo/wip-backport-head
Browse files Browse the repository at this point in the history
script/ceph-backport.sh: Fix verification of git repository
  • Loading branch information
smithfarm authored Sep 16, 2019
2 parents e487604 + 4968613 commit 33a5fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/ceph-backport.sh
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ function warning {
# are we in a local git clone?
#

if git show-ref HEAD >/dev/null 2>&1 ; then
if git status >/dev/null 2>&1 ; then
debug "In a local git clone. Good."
else
error "This script must be run from inside a local git clone"
Expand Down

0 comments on commit 33a5fae

Please sign in to comment.