From fb3f2bde0cfed516d9f08c9da525f660be213b19 Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Fri, 25 Nov 2022 21:34:36 -0500 Subject: [PATCH] Remove println! that should not exist --- usdpl-back/src/api_common/dirs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usdpl-back/src/api_common/dirs.rs b/usdpl-back/src/api_common/dirs.rs index 405485a..ffaf715 100644 --- a/usdpl-back/src/api_common/dirs.rs +++ b/usdpl-back/src/api_common/dirs.rs @@ -19,7 +19,7 @@ pub fn home() -> Option { .args(["-c", &format!("id {}", uid)]) .output().ok()?; let user_out_str = String::from_utf8_lossy(user_info.stdout.as_slice()); - println!("loginuid: {}", user_out_str); + //println!("loginuid: {}", user_out_str); let user_str = user_out_str.split(")").next()?; let user = &user_str[user_str.find("(")?+1..]; Some(Path::new("/home").join(user))