(minor) error message clarity in mirror-push
This commit is contained in:
parent
70010ba56e
commit
de9ece4735
|
@ -32,7 +32,7 @@ gmm=`git config --get gitolite.mirror.master`
|
||||||
|
|
||||||
# is it local? (remember, empty/undef ==> local
|
# is it local? (remember, empty/undef ==> local
|
||||||
gmm=${gmm:-local}
|
gmm=${gmm:-local}
|
||||||
[ "$gmm" = "local" ] && exit
|
[ "$gmm" = "local" ] && die sorry but "$repo" is local
|
||||||
|
|
||||||
# is it a slave?
|
# is it a slave?
|
||||||
[ "$hn" = "$gmm" ] || die fatal: wrong master. Try $gmm...
|
[ "$hn" = "$gmm" ] || die fatal: wrong master. Try $gmm...
|
||||||
|
|
Loading…
Reference in a new issue