summaryrefslogtreecommitdiff
path: root/src/cli/machine.rs
diff options
context:
space:
mode:
authorakbash <akbash@herdr.dev>2026-09-08 03:34:54 +0300
committerGitHub <noreply@github.com>2026-09-08 03:34:54 +0300
commit9e01168b140ce8e3821131345dc82bc2bf9994eb (patch)
tree482832a0af8e79ea30f2ea4dcadbd874ac7fdb1d /src/cli/machine.rs
parent792b2baa447a3ed413cc755ea3d76582021c648a (diff)
fix: show ssh errors during machine setup (#3733)
refs #3731 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
Diffstat (limited to 'src/cli/machine.rs')
-rw-r--r--src/cli/machine.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/machine.rs b/src/cli/machine.rs
index a55e4611..3e93d101 100644
--- a/src/cli/machine.rs
+++ b/src/cli/machine.rs
@@ -144,7 +144,7 @@ fn add(args: &[String]) -> std::io::Result<i32> {
}
if let Err(error) = crate::remote::prepare_saved_ssh(target, &session) {
eprintln!("error: {error}; machine was not saved");
- crate::remote::print_remote_error_hint(&error, target);
+ crate::remote::print_saved_ssh_error_hint(&error, target);
return Ok(1);
}
// Setup can wait for human approval. Do not overwrite catalog edits made meanwhile.