diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-08-30 15:55:16 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-08-30 15:55:16 +0000 |
| commit | 064121ee95268b9968d9b9bc54e6008f96ac91ae (patch) | |
| tree | 20dea3ebe6d010bc61e77c7250fef584a6760089 | |
| parent | ci: codespell: ignore ‘doas’ (diff) | |
slave: log _which_ CWD we failed to change to
| -rw-r--r-- | slave.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -269,7 +269,7 @@ slave_spawn(int ptmx, int argc, const char *cwd, char *const *argv, if (chdir(cwd) < 0) { const int errno_copy = errno; - LOG_ERRNO("failed to change working directory"); + LOG_ERRNO("failed to change working directory to %s", cwd); (void)!write(fork_pipe[1], &errno_copy, sizeof(errno_copy)); _exit(errno_copy); } |
