aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaito Bezarius <raito@lix.systems>2024-05-10 19:33:36 +0000
committerGerrit Code Review <gerrit@lix-systems>2024-05-10 19:33:36 +0000
commit4ebbd4362f3e39315717706ebf853a9a2876fdbc (patch)
tree312d917e502a85c6bccb1f0fb0868bbe75cb8dbc
parentceccac835c55e3b5c805851bad871360641ff1d9 (diff)
parent8404a1f66d090c5d68d8c5e958316df7d286a1e2 (diff)
Merge "feat(libstore): print the first line of stdout of SSH in case of failure" into main
-rw-r--r--src/libstore/ssh.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/ssh.cc b/src/libstore/ssh.cc
index 2d2c24afa..87414fe9c 100644
--- a/src/libstore/ssh.cc
+++ b/src/libstore/ssh.cc
@@ -110,7 +110,7 @@ std::unique_ptr<SSHMaster::Connection> SSHMaster::startCommand(const std::string
} catch (EndOfFile & e) { }
if (reply != "started") {
- printTalkative("SSH stdout first line: %s", reply);
+ warn("SSH to '%s' failed, stdout first line: '%s'", host, reply);
throw Error("failed to start SSH connection to '%s'", host);
}
}