Removed Debug Logging
This commit is contained in:
parent
76a567d1bf
commit
7b7353997d
1 changed files with 0 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue