aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 8fc369b..29f09f4 100755
--- a/kiss
+++ b/kiss
@@ -110,7 +110,7 @@ pkg_lint() {
[ -x build ] || die "$1" "Build file not found or not executable"
[ -s version ] || die "$1" "Version file not found or empty"
- read -r _ release < version
+ read -r _ release 2>/dev/null < version || die "Version file not found"
[ "$release" ] || die "Release field not found in version file"
[ "$2" ] || [ -f checksums ] || die "$pkg" "Checksums are missing"