mirror of
https://github.com/rust-lang/cargo
synced 2024-08-27 03:09:25 +00:00
add a missing is:
Co-authored-by: Eric Huss <eric@huss.org>
This commit is contained in:
parent
44666f7377
commit
eb188831da
|
@ -184,7 +184,7 @@ fn known_host_works() {
|
|||
// Validate the fingerprint while we're here.
|
||||
let fingerprint = stderr
|
||||
.lines()
|
||||
.find_map(|line| line.strip_prefix(" The ECDSA key fingerprint"))
|
||||
.find_map(|line| line.strip_prefix(" The ECDSA key fingerprint is: "))
|
||||
.unwrap()
|
||||
.trim();
|
||||
let finger_out = sshd.exec(&["ssh-keygen", "-l", "-f", "/etc/ssh/ssh_host_ecdsa_key.pub"]);
|
||||
|
|
Loading…
Reference in a new issue