check_git: call fail() first (fallback to err)
Signed-off-by: Leah Rowe <leah@libreboot.org>btrfsvols
parent
727dc7ff2f
commit
1223bfaeef
|
@ -21,7 +21,8 @@ check_git()
|
|||
git_err()
|
||||
{
|
||||
printf "You need to set git name/email, like so:\n%s\n\n" "${1}"
|
||||
err "Git name/email not configured"
|
||||
fail "Git name/email not configured" || \
|
||||
err "Git name/email not configured"
|
||||
}
|
||||
|
||||
check_project()
|
||||
|
|
Loading…
Reference in New Issue