USBGuard / usbguard

USBGuard is a software framework for implementing USB device authorization policies (what kind of USB devices are authorized) as well as method of use policies (how a USB device may interact with the system)
https://usbguard.github.io/
GNU General Public License v2.0
1.1k stars 133 forks source link

usbguard-daemon: Fix rules file opening error message (fixes #529) #534

Closed hartwork closed 2 years ago

hartwork commented 2 years ago

Fixes #529

New behavior:

$ ./usbguard-daemon -P -c <(echo 'RuleFile=/no/such/file') -k
[1644856721.986] (W) PERMISSIONS CHECK ON POLICY FILE ARE TURNED OFF!
[1644856721.987] (E) FileRuleSet loading: /no/such/file: No such file or directory