diff --git a/src/udev/udev-node.c b/src/udev/udev-node.c index 6527551853..b8f2a14755 100644 --- a/src/udev/udev-node.c +++ b/src/udev/udev-node.c @@ -459,13 +459,13 @@ static int link_update(sd_device *dev, const char *slink, bool add) { /* The devlink priority is downgraded. Another device may have a higher * priority now. Let's find the device node with the highest priority. */ } else { - if (current_prio >= prio) - /* The devlink with equal or higher priority already exists and is - * owned by another device. Hence, it is not necessary to recreate it. */ + if (current_prio > prio) + /* The devlink with a higher priority already exists and is owned by + * another device. Hence, it is not necessary to recreate it. */ return 0; - /* This device has a higher priority than the current. Let's create the - * devlink to our device node. */ + /* This device has the equal or a higher priority than the current. Let's + * create the devlink to our device node. */ return node_symlink(dev, NULL, slink); }