diff options
Diffstat (limited to 'src/portable/portable.c')
-rw-r--r-- | src/portable/portable.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/portable/portable.c b/src/portable/portable.c index c2d01cf4db..545a3ed5d2 100644 --- a/src/portable/portable.c +++ b/src/portable/portable.c @@ -231,8 +231,8 @@ static int extract_now( } /* Then, send unit file data to the parent (or/and add it to the hashmap). For that we use our usual unit - * discovery logic. Note that we force looking inside of /lib/systemd/system/ for units too, as we mightbe - * compiled for a split-usr system but the image might be a legacy-usr one. */ + * discovery logic. Note that we force looking inside of /lib/systemd/system/ for units too, as the + * image might have a legacy split-usr layout. */ r = lookup_paths_init(&paths, RUNTIME_SCOPE_SYSTEM, LOOKUP_PATHS_SPLIT_USR, where); if (r < 0) return log_debug_errno(r, "Failed to acquire lookup paths: %m"); @@ -1484,7 +1484,7 @@ int portable_attach( strempty(extensions_joined)); } - r = lookup_paths_init(&paths, RUNTIME_SCOPE_SYSTEM, LOOKUP_PATHS_SPLIT_USR, NULL); + r = lookup_paths_init(&paths, RUNTIME_SCOPE_SYSTEM, /* flags= */ 0, NULL); if (r < 0) return r; @@ -1684,7 +1684,7 @@ int portable_detach( assert(name_or_path); - r = lookup_paths_init(&paths, RUNTIME_SCOPE_SYSTEM, LOOKUP_PATHS_SPLIT_USR, NULL); + r = lookup_paths_init(&paths, RUNTIME_SCOPE_SYSTEM, /* flags= */ 0, NULL); if (r < 0) return r; @@ -1871,7 +1871,7 @@ static int portable_get_state_internal( assert(name_or_path); assert(ret); - r = lookup_paths_init(&paths, RUNTIME_SCOPE_SYSTEM, LOOKUP_PATHS_SPLIT_USR, NULL); + r = lookup_paths_init(&paths, RUNTIME_SCOPE_SYSTEM, /* flags= */ 0, NULL); if (r < 0) return r; |