Fixed default directory when running with no root permissions
This commit is contained in:
parent
6373bbecbc
commit
9dba3c564f
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ async fn main() {
|
||||||
_ => user_home,
|
_ => user_home,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Ok(user_home) => format!("/home/{}", user_home),
|
Ok(user_home) => user_home,
|
||||||
_ => "/root".to_string(),
|
_ => "/root".to_string(),
|
||||||
};
|
};
|
||||||
let default_config_path = format!("{}/.config/makima", user_home);
|
let default_config_path = format!("{}/.config/makima", user_home);
|
||||||
|
|
Loading…
Add table
Reference in a new issue