diff --git a/common/hooks/do-fetch/00-distfiles.sh b/common/hooks/do-fetch/00-distfiles.sh index 0be4ab71e6..1bbb97298d 100644 --- a/common/hooks/do-fetch/00-distfiles.sh +++ b/common/hooks/do-fetch/00-distfiles.sh @@ -102,4 +102,8 @@ hook() { fi dfcount=$(($dfcount + 1)) done + + if [ "$rval" -ne 0 ]; then + msg_error "$pkgver: couldn't verify distfiles, exiting...\n" + fi }