tree-wide: use strv_contains() in more places

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2022-03-18 10:22:20 +01:00
committed by Lennart Poettering
parent d3e85c9c81
commit d29cc4d6e1
8 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -4239,7 +4239,7 @@ static int nspawn_dispatch_notify_fd(sd_event_source *source, int fd, uint32_t r
if (!tags)
return log_oom();
if (strv_find(tags, "READY=1")) {
if (strv_contains(tags, "READY=1")) {
r = sd_notify(false, "READY=1\n");
if (r < 0)
log_warning_errno(r, "Failed to send readiness notification, ignoring: %m");