summaryrefslogtreecommitdiff
path: root/scripts/libmakepkg/lint_pkgbuild/changelog.sh.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2015-11-13 14:32:52 +1000
committerAllan McRae <allan@archlinux.org>2015-11-23 11:13:39 +1000
commitc26e5b81e5c22e1316eb2f384cc175438772a8f2 (patch)
tree946a14ece82a6e099fa04eb14fe0f7a5a3da4048 /scripts/libmakepkg/lint_pkgbuild/changelog.sh.in
parent947dfda515505f937eac5b388384dd6df0278e40 (diff)
downloadpacman-c26e5b81e5c22e1316eb2f384cc175438772a8f2.tar.xz
lint_pkgbuild: explicitly return value
Set the return value to be local and always explictly returns it. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/lint_pkgbuild/changelog.sh.in')
-rw-r--r--scripts/libmakepkg/lint_pkgbuild/changelog.sh.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/libmakepkg/lint_pkgbuild/changelog.sh.in b/scripts/libmakepkg/lint_pkgbuild/changelog.sh.in
index 72300a48..70959d07 100644
--- a/scripts/libmakepkg/lint_pkgbuild/changelog.sh.in
+++ b/scripts/libmakepkg/lint_pkgbuild/changelog.sh.in
@@ -41,5 +41,7 @@ lint_changelog() {
fi
done
- check_files_exist 'changelog' "${changelog_list[@]}"
+ check_files_exist 'changelog' "${changelog_list[@]}" || ret=1
+
+ return $ret
}