diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index 4656f270..faa42fc1 100644 --- a/scripts/repo-add.sh.in +++ b/scripts/repo-add.sh.in @@ -452,7 +452,7 @@ add() { fi pkgfile=$1 - if ! bsdtar -tqf "$pkgfile" .PKGINFO >/dev/null 2>&1; then + if ! bsdtar -tqf "$pkgfile" .PKGINFO >/dev/null; then error "$(gettext "'%s' is not a package file, skipping")" "$pkgfile" return 1 fi