mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 00:51:24 +03:00
udevd: reject devices which do not have SEQNUM
This commit is contained in:
parent
956833b417
commit
25d4f5b071
@ -399,7 +399,7 @@ static int worker_process_device(Manager *manager, sd_device *dev) {
|
||||
|
||||
r = sd_device_get_property_value(dev, "SEQNUM", &seqnum);
|
||||
if (r < 0)
|
||||
log_device_debug_errno(dev, r, "Failed to get SEQNUM: %m");
|
||||
return log_device_debug_errno(dev, r, "Failed to get SEQNUM: %m");
|
||||
|
||||
log_device_debug(dev, "Processing device (SEQNUM=%s)", seqnum);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user