mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-03 13:47:04 +03:00
Merge pull request #2987 from CyberShadow/pull-20160407-234344
core: downgrade warning about duplicate device names again
This commit is contained in:
commit
3aa131c4ca
@ -322,7 +322,7 @@ static int device_setup_unit(Manager *m, struct udev_device *dev, const char *pa
|
|||||||
/* This unit is in plugged state: we're sure it's
|
/* This unit is in plugged state: we're sure it's
|
||||||
* attached to a device. */
|
* attached to a device. */
|
||||||
if (!path_equal(DEVICE(u)->sysfs, sysfs)) {
|
if (!path_equal(DEVICE(u)->sysfs, sysfs)) {
|
||||||
log_unit_error(u, "Dev %s appeared twice with different sysfs paths %s and %s",
|
log_unit_debug(u, "Dev %s appeared twice with different sysfs paths %s and %s",
|
||||||
e, DEVICE(u)->sysfs, sysfs);
|
e, DEVICE(u)->sysfs, sysfs);
|
||||||
return -EEXIST;
|
return -EEXIST;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user