diff --git a/util/src/system_info.rs b/util/src/system_info.rs index 1198d6e64..367721421 100644 --- a/util/src/system_info.rs +++ b/util/src/system_info.rs @@ -10,4 +10,6 @@ pub fn get_current_user_name() -> String { .stdout, ) .expect("Unable to read current user name") + .trim() + .to_string() }