mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 02:03:37 +08:00
udev/iocost: invert DEVTYPE match
No functional change, just refactoring. Addresses https://github.com/systemd/systemd/pull/23325#discussion_r1171006967.
This commit is contained in:
parent
c413ae18b5
commit
fc73d97182
@ -8,9 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
SUBSYSTEM!="block", GOTO="iocost_end"
|
||||
|
||||
ENV{DEVTYPE}=="partition", GOTO="iocost_end"
|
||||
|
||||
ENV{DEVTYPE}!="disk", GOTO="iocost_end"
|
||||
ACTION=="remove", GOTO="iocost_end"
|
||||
|
||||
ENV{.MODEL}=""
|
||||
|
Loading…
Reference in New Issue
Block a user