mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
agent: Log socket path if connecting to it failed
This commit is contained in:
parent
1321fdb8aa
commit
21b2b124a1
@ -162,8 +162,8 @@ static int open_connection(char *path)
|
||||
|
||||
if (connect(s, (struct sockaddr*)&addr, SUN_LEN(&addr)) != 0)
|
||||
{
|
||||
DBG1(DBG_LIB, "connecting to ssh-agent socket failed: %s",
|
||||
strerror(errno));
|
||||
DBG1(DBG_LIB, "connecting to ssh-agent socket '%s' failed: %s",
|
||||
addr.sun_path, strerror(errno));
|
||||
close(s);
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user