79f29ed53e
...when checking a package. This will give more relevant information than before, removes a message that is misleading in many cases, and allows for some minor simplification. before: ``` $ doas xbps-pkgdb runit-void; echo $? ERROR: runit-void: hash mismatch for /etc/runit/2. ERROR: runit-void: files check FAILED. Failed to check `runit-void': Operation not permitted 1 ``` after: ``` $ doas xbps-pkgdb runit-void; echo $? ERROR: runit-void: hash mismatch for /etc/runit/2. ERROR: runit-void: files check FAILED. 1 ``` this does not change the behaviour of `xbps-pkgdb -a`