We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13fed8c commit 11e2f39Copy full SHA for 11e2f39
1 file changed
crates/shared/src/unix/mac/mod.rs
@@ -166,7 +166,7 @@ impl crate::system::System for MacSystem {
166
167
fn get_current_user(&self) -> Result<String> {
168
log::debug!("MacSystem::get_current_user called");
169
- Ok(whoami::username())
+ Ok(whoami::username()?)
170
}
171
172
fn get_session_type(&self) -> Result<String> {
0 commit comments