1
0
mirror of https://github.com/containers/youki synced 2024-11-23 01:11:58 +01:00
This commit is contained in:
Furisto 2021-06-05 22:44:32 +02:00
parent 7144e6c997
commit edeac86774

@ -51,6 +51,8 @@ impl Create {
let bundle_canonicalized = fs::canonicalize(&self.bundle)
.unwrap_or_else(|_| panic!("failed to canonicalied {:?}", &self.bundle));
let container_dir = root_path.join(&self.container_id);
log::debug!("container directory will be {:?}", container_dir);
if !container_dir.exists() {
fs::create_dir(&container_dir).unwrap();
} else {