Skip to content

Commit

Permalink
Hotfix #2: Path canonicals do not work
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Oct 19, 2023
1 parent 9dad1c1 commit 33185f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "katsu"
version = "0.1.2"
version = "0.1.3"
edition = "2021"
authors = [
"Fyra Labs",
Expand Down
2 changes: 1 addition & 1 deletion src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ pub fn prepare_chroot(root: &Path) -> Result<()> {
// rewrite the above with

for (src, target, fstype, flags) in MNTS {
let target = root.join(target).canonicalize()?;
let target = root.join(target);
std::fs::create_dir_all(&target)?;
debug!("Mounting {src:?} to {target:?}");
let mut i = 0;
Expand Down

0 comments on commit 33185f0

Please sign in to comment.