Removed Debug Logging

This commit is contained in:
Neshura 2024-04-10 23:26:11 +02:00
parent 76a567d1bf
commit 7b7353997d
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -201,16 +201,13 @@ impl Config {
let root_metadata = fs::metadata(&root)?;
let uid = root_metadata.uid();
let gid = root_metadata.gid();
println!("uid: {uid}, gid: {gid}");
match paths.len() {
1 => {
let new_root = root.join(paths[0]);
println!("{}", &new_root.display());
unix::fs::chown(new_root, Some(uid), Some(gid))
},
_ => {
let new_root = root.join(paths[0]);
println!("{}", &new_root.display());
let ret = unix::fs::chown(&new_root, Some(uid), Some(gid));
let mut new_paths = paths.clone();