diff options
Diffstat (limited to 'src/core/manager.c')
-rw-r--r-- | src/core/manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index a3dc5bb40e..78f03a824c 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -1483,7 +1483,7 @@ static void manager_build_unit_path_cache(Manager *m) { FOREACH_DIRENT(de, d, r = -errno; goto fail) { char *p; - p = strjoin(streq(*i, "/") ? "" : *i, "/", de->d_name); + p = path_join(*i, de->d_name); if (!p) { r = -ENOMEM; goto fail; |