Move some options out of globals
This commit is contained in:
parent
daccd68999
commit
988bf59421
4 changed files with 15 additions and 6 deletions
|
|
@ -103,7 +103,7 @@ void run(Strings args)
|
|||
|
||||
/* Pass on the location of the daemon client's SSH authentication
|
||||
socket. */
|
||||
string sshAuthSock = settings.get("ssh-auth-sock");
|
||||
string sshAuthSock = settings.get("ssh-auth-sock", "");
|
||||
if (sshAuthSock != "") setenv("SSH_AUTH_SOCK", sshAuthSock.c_str(), 1);
|
||||
|
||||
string host = settings.sshSubstituterHosts.front();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue