fix a logic error from 2018: be silent if any of -S, -n, -q are mentioned.
authorespie <espie@openbsd.org>
Tue, 1 Nov 2022 17:25:33 +0000 (17:25 +0000)
committerespie <espie@openbsd.org>
Tue, 1 Nov 2022 17:25:33 +0000 (17:25 +0000)
commit50ab629c12caa194fba38dacc9895e653e64756e
tree48bd223de89eb104184fb09436ff57a7a6e9b712
parent4b3ced232fdffa0066b0383a224e21a3f927d9e3
fix a logic error from 2018: be silent if any of -S, -n, -q are mentioned.

The actual bug reverted in 1.128 was from "make print-plist-libs"
which would invoke pkg_create -n -Q  and filter out the libs: but
in that case, pkg_create would not be silent, thus yielding
    reading plist|-/usr/local/lib/libpython3.9.so.0.0
to filter, which obviously wouldn't work.

So, turn on silent mode for -Q as well.
usr.sbin/pkg_add/OpenBSD/PkgCreate.pm