Hi Marc, I was trying to automate an installation script around pkg_add <https://github.com/google/syzkaller/blob/master/tools/create-openbsd-gce-ci.sh#L33>[0] and noticed some cases where error reporting and/or documentation could be improved. In particular, I want to have an "unattended" mode with a simple way to check that all my package installations were successful. So far I can't seem to do better than grepping pkg_add output. E.g.
ci-openbsd$ doas pkg_add foobar; echo $? https://cloudflare.cdn.openbsd.org/pub/OpenBSD/6.4/packages/amd64/: no such dir Can't find foobar 0 Thanks Greg 0) https://github.com/google/syzkaller/blob/master/tools/create-openbsd-gce-ci.sh#L33