File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -264,8 +264,11 @@ fn mount_per_user_wsl_envs_script(distro_launcher: &mut DistroLauncher) -> Resul
264
264
}
265
265
266
266
fn mount_slash_run_static_files ( distro_launcher : & mut DistroLauncher ) -> Result < ( ) > {
267
- for path in glob:: glob ( & format ! ( "{}/**/*" , distrod_config:: get_distrod_run_dir( ) ) )
268
- . with_context ( || "glob failed." ) ?
267
+ for path in glob:: glob ( & format ! (
268
+ "{}/**/*" ,
269
+ distrod_config:: get_distrod_run_overlay_dir( )
270
+ ) )
271
+ . with_context ( || "glob failed." ) ?
269
272
{
270
273
let path = path?;
271
274
log:: trace!( "mount_distrod_run_files: path: {:?}" , & path) ;
@@ -274,12 +277,12 @@ fn mount_slash_run_static_files(distro_launcher: &mut DistroLauncher) -> Result<
274
277
}
275
278
let dest_mount_path = ContainerPath :: new (
276
279
Path :: new ( "/run" ) . join (
277
- path. strip_prefix ( distrod_config:: get_distrod_run_dir ( ) )
280
+ path. strip_prefix ( distrod_config:: get_distrod_run_overlay_dir ( ) )
278
281
. with_context ( || {
279
282
format ! (
280
283
"[BUG] {:?} should starts with {:?}" ,
281
284
& path,
282
- distrod_config:: get_distrod_run_dir ( )
285
+ distrod_config:: get_distrod_run_overlay_dir ( )
283
286
)
284
287
} ) ?,
285
288
) ,
You can’t perform that action at this time.
0 commit comments