]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev-watch: mention that the failure is ignored
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 12 Feb 2025 00:22:49 +0000 (09:22 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 13 Feb 2025 15:54:46 +0000 (15:54 +0000)
(cherry picked from commit a52aad3b4bb735a22ce67110142d135819589a87)

src/udev/udev-watch.c

index 1b8e2b8dbd4ee4ea5a5b0be724a771d7574a7ac0..9bd34af858f91e4df7438cc064cb30057c384d4a 100644 (file)
@@ -167,7 +167,7 @@ finalize:
         /* 5. remove symlink ID -> wd.
          * The file is always owned by the device. Hence, it is safe to remove it unconditionally. */
         if (unlinkat(dirfd, id, 0) < 0 && errno != ENOENT)
-                log_device_debug_errno(dev, errno, "Failed to remove '/run/udev/watch/%s': %m", id);
+                log_device_debug_errno(dev, errno, "Failed to remove '/run/udev/watch/%s', ignoring: %m", id);
 
         return r;
 }