pilebones / go-udev

Simple udev implementation in Golang
GNU General Public License v3.0
95 stars 28 forks source link

Append SUBSYSTEM to the env data read for uevent files before matching #2

Closed stolowski closed 6 years ago

stolowski commented 6 years ago

Matching based on the SUBSYSTEM env key is not possible with ExistingDevices because the SUBSYTEM key is only inserted into env after matcher is already evaluated to true.

This PR fixes it (issue #1 )