From: Mike Yuan Date: Thu, 26 Feb 2026 16:44:57 +0000 (+0100) Subject: shared/dropin: use set_contains() where appropriate X-Git-Tag: v260-rc2~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0dbd1163512a06d47bc2e126231f4fe22db14bde;p=thirdparty%2Fsystemd.git shared/dropin: use set_contains() where appropriate --- diff --git a/src/shared/dropin.c b/src/shared/dropin.c index 405a3c0e5d4..5ea645232a3 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;