Stop redirecting stderr of bsdtar to /dev/null
It's extremely hard to figure out what's going from when bsdtar fails here when we expect it to succeed. Stop tunneling stderr to /dev/null to help users figure out what's going on when this fails.
This commit is contained in:
parent
85c421f1cb
commit
bcd4aad16c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue