mirror of
https://github.com/FliegendeWurst/KIT-ILIAS-downloader.git
synced 2024-08-28 04:04:18 +00:00
Compare commits
No commits in common. "f0bce36ee0de613e4de47ce0caa617b3031a04f4" and "a48060a9a5be75899f3729b39650c177e76d723c" have entirely different histories.
f0bce36ee0
...
a48060a9a5
@ -201,8 +201,8 @@ pub fn ask_user_pass(opt: &Opt) -> Result<(String, String)> {
|
|||||||
))?
|
))?
|
||||||
} else {
|
} else {
|
||||||
pass = String::from_utf8(pw_out.stdout).map(|x| {
|
pass = String::from_utf8(pw_out.stdout).map(|x| {
|
||||||
x.lines().next().map(|x| x.to_owned()).ok_or_else(|| anyhow!("empty pass(1) entry!"))
|
x.trim_end().to_string()
|
||||||
})?.expect("utf-8 decode of `pass(1)`-output failed");
|
}).expect("utf-8 decode of `pass(1)`-output failed");
|
||||||
should_store = false;
|
should_store = false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user