client: log path we actually tried to connect to (and failed)

This commit is contained in:
Daniel Eklöf 2020-03-10 18:02:57 +01:00
parent fdb684eceb
commit 3bee031867
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -145,7 +145,7 @@ main(int argc, char *const *argv)
if (connect(fd, (const struct sockaddr *)&addr, sizeof(addr)) == 0)
connected = true;
else
LOG_WARN("%s/foot.sock: failed to connect, will now try /tmp/foot.sock", xdg_runtime);
LOG_WARN("%s: failed to connect, will now try /tmp/foot.sock", addr.sun_path);
}
if (!connected) {