summaryrefslogtreecommitdiffstats
path: root/src/shared/install.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-12-21 17:27:09 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-12-21 17:27:09 +0100
commit43127aebc7f2f3b55dfc2025d0a75f107e9ec5e7 (patch)
treef100764fbee1aa08ac586d1983b6c54bb28e180c /src/shared/install.c
parentdbus-execute: use new exec_context_get_set_login_environment() helper also as... (diff)
downloadsystemd-43127aebc7f2f3b55dfc2025d0a75f107e9ec5e7.tar.xz
systemd-43127aebc7f2f3b55dfc2025d0a75f107e9ec5e7.zip
tree-wide: use hashmap_isempty() and friends
Diffstat (limited to 'src/shared/install.c')
-rw-r--r--src/shared/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/install.c b/src/shared/install.c
index b5f386b5a1..265407f080 100644
--- a/src/shared/install.c
+++ b/src/shared/install.c
@@ -747,7 +747,7 @@ static int remove_marked_symlinks(
assert(config_path);
assert(lp);
- if (set_size(remove_symlinks_to) <= 0)
+ if (set_isempty(remove_symlinks_to))
return 0;
fd = open(config_path, O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC);