summaryrefslogtreecommitdiffstats
path: root/src/udev/udev-watch.c
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2023-07-02 11:39:00 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2023-07-02 12:22:45 +0200
commit5000cea8d28d6db378b7c67b5305cc26694c3401 (patch)
tree1df0bda9cfeb359ca3ed834aa09c8ae4d8929fd0 /src/udev/udev-watch.c
parentunit: drop an unused assignment (diff)
downloadsystemd-5000cea8d28d6db378b7c67b5305cc26694c3401.tar.xz
systemd-5000cea8d28d6db378b7c67b5305cc26694c3401.zip
tree-wide: explicitly ignore return value in a couple more places
Resolves: - CID#1490777 - CID#1498366 - CID#1508639 - CID#1509084 - CID#1509086 - CID#1509087
Diffstat (limited to 'src/udev/udev-watch.c')
-rw-r--r--src/udev/udev-watch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-watch.c b/src/udev/udev-watch.c
index d00226cd7a..58c82794f0 100644
--- a/src/udev/udev-watch.c
+++ b/src/udev/udev-watch.c
@@ -51,7 +51,7 @@ int udev_watch_restore(int inotify_fd) {
assert(inotify_fd >= 0);
- rm_rf("/run/udev/watch.old", REMOVE_ROOT);
+ (void) rm_rf("/run/udev/watch.old", REMOVE_ROOT);
if (rename("/run/udev/watch", "/run/udev/watch.old") < 0) {
if (errno == ENOENT)