From 0dbd1163512a06d47bc2e126231f4fe22db14bde Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Thu, 26 Feb 2026 17:44:57 +0100 Subject: [PATCH] shared/dropin: use set_contains() where appropriate --- src/shared/dropin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/dropin.c b/src/shared/dropin.c index 405a3c0e5d..5ea645232a 100644 --- a/src/shared/dropin.c +++ b/src/shared/dropin.c @@ -161,7 +161,7 @@ static int unit_file_find_dirs( assert(suffix); path = strjoina(unit_path, "/", name, suffix); - if (!unit_path_cache || set_get(unit_path_cache, path)) { + if (!unit_path_cache || set_contains(unit_path_cache, path)) { r = unit_file_add_dir(original_root, path, dirs); if (r < 0) return r;