88da55e udevadm: do not ignroe error caused by unpriviledged user invoking the command

1 file Authored by Yu Watanabe 3 years ago, Committed by Lennart Poettering 3 years ago,
    udevadm: do not ignroe error caused by unpriviledged user invoking the command
    
    This effectively reverts commit 67acde4869a9505f9721e31fa5167c82445e0e12.
    
    After commits 569ad251adde02dc0915758fe027e0346e50738a and
    67acde4869a9505f9721e31fa5167c82445e0e12, -EACCES errors are ignored,
    and thus 'udevadm trigger' succeeds even when it is invoked by non-root
    users. Moreover, on -EACCES error, log messages are shown in debug
    level, so usually we see no message, and users are easily confused
    why uevents for devices are not triggered.
    
        
file modified
+4 -3