Do not printf NULL.

This commit is contained in:
nicm 2018-10-28 16:10:02 +00:00
parent 65dd7345e0
commit d5b92ac37e

2
job.c
View File

@ -80,7 +80,7 @@ job_run(const char *cmd, struct session *s, const char *cwd,
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, out) != 0) if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, out) != 0)
return (NULL); return (NULL);
log_debug("%s: cmd=%s, cwd=%s", __func__, cmd, cwd); log_debug("%s: cmd=%s, cwd=%s", __func__, cmd, cwd == NULL ? "" : cwd);
/* /*
* Do not set TERM during .tmux.conf, it is nice to be able to use * Do not set TERM during .tmux.conf, it is nice to be able to use