Skip to content

Commit 33185f0

Browse files
committed
Hotfix #2: Path canonicals do not work
1 parent 9dad1c1 commit 33185f0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "katsu"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
edition = "2021"
55
authors = [
66
"Fyra Labs",

src/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ pub fn prepare_chroot(root: &Path) -> Result<()> {
250250
// rewrite the above with
251251

252252
for (src, target, fstype, flags) in MNTS {
253-
let target = root.join(target).canonicalize()?;
253+
let target = root.join(target);
254254
std::fs::create_dir_all(&target)?;
255255
debug!("Mounting {src:?} to {target:?}");
256256
let mut i = 0;

0 commit comments

Comments
 (0)