ctc-oss / fapolicy-analyzer

Tools to assist with the configuration and management of fapolicyd.
https://ctc-oss.github.io/fapolicy-analyzer
GNU General Public License v3.0
12 stars 5 forks source link

Fix check of empty trust db #782

Closed jw3 closed 1 year ago

jw3 commented 1 year ago

Where there are no trust entries present the check_disk_trust function can simply return rather than spawning off threads that will perform no work.

There was an error occurring when either type of trust store was empty.

Fixes #779