Settings: Add bool get()
This commit is contained in:
parent
eca29bd72d
commit
d37d012774
4 changed files with 13 additions and 3 deletions
|
|
@ -108,7 +108,7 @@ int main(int argc, char * * argv)
|
|||
|
||||
/* 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", string(""));
|
||||
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