From 9462c01c3ea4c45927ba26a6918ad1daa65e32aa Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 27 Apr 2024 12:05:17 +0300 Subject: [PATCH] libstore/ssh: shut This is just logspam, and we have NIX_SSHOPTS for people that want the logspam. Change-Id: Ieff71473686f0661f9c53c212f8952dd2c9565c3 --- src/libstore/ssh.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libstore/ssh.cc b/src/libstore/ssh.cc index 7aac026c9..2d2c24afa 100644 --- a/src/libstore/ssh.cc +++ b/src/libstore/ssh.cc @@ -88,8 +88,6 @@ std::unique_ptr SSHMaster::startCommand(const std::string addCommonSSHOpts(args); if (socketPath != "") args.insert(args.end(), {"-S", socketPath}); - if (verbosity >= lvlChatty) - args.push_back("-v"); } args.push_back(command); @@ -154,8 +152,6 @@ Path SSHMaster::startMaster() throw SysError("duping over stdout"); Strings args = { "ssh", host.c_str(), "-M", "-N", "-S", state->socketPath }; - if (verbosity >= lvlChatty) - args.push_back("-v"); addCommonSSHOpts(args); execvp(args.begin()->c_str(), stringsToCharPtrs(args).data());