diff options
Diffstat (limited to 'include/git.sh')
-rwxr-xr-x | include/git.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/git.sh b/include/git.sh index 6184ba0c..b0ebc937 100755 --- a/include/git.sh +++ b/include/git.sh @@ -90,8 +90,7 @@ verify_config() { [ -z "${rev+x}" ] && err 'verify_config: rev not set' [ -z "${loc+x}" ] && err 'verify_config: loc not set' - [ -z "${url+x}" ] && err 'verify_config: url not set' - return 0 + [ -z "${url+x}" ] && err 'verify_config: url not set'; return 0 } clone_project() @@ -146,6 +145,5 @@ git_am_patches() [ ! -d "${patches}" ] && continue git_am_patches "${sdir}" "${patches}" done - [ "${patchfail}" = "y" ] && return 1 - return 0 + [ "${patchfail}" = "y" ] && return 1; return 0 } |