diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-03-10 17:21:48 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-03-10 17:21:48 +0000 |
| commit | 2be999a752a31a55e9c3c5a0edbe7c3bd31d8054 (patch) | |
| tree | 118f1d90539deb783c38ffb61e0dd9bad3dc464d /client.c | |
| parent | doc/foot.1: keyboard shortcuts: add pointer to foot(5) (diff) | |
| parent | changelog: updated to mention fix for #3 (diff) | |
Merge branch 'master' into bindings
Diffstat (limited to 'client.c')
| -rw-r--r-- | client.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -34,7 +34,7 @@ print_usage(const char *prog_name) printf("Options:\n"); printf(" -t,--term=TERM value to set the environment variable TERM to (foot)\n" " --login-shell start shell as a login shell\n" - " -s,--server-socket=PATH path to the server UNIX domain socket (default=XDG_RUNTIME_DIR/foot.sock)\n" + " -s,--server-socket=PATH path to the server UNIX domain socket (default=$XDG_RUNTIME_DIR/foot-$XDG_SESSION_ID.sock)\n" " -l,--log-colorize=[never|always|auto] enable/disable colorization of log output on stderr\n" " -v,--version show the version number and quit\n"); } @@ -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) { |
