summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index a237e61..5cac0a6 100644
--- a/server.c
+++ b/server.c
@@ -247,7 +247,7 @@ exec_cmd(struct cfg *cfg, struct server *scfg, const char *cmd)
}
} while (!WIFEXITED(wstatus));
- fprintf(stderr, "Child %s exited: %i\n", scfg->start_exec,
+ fprintf(stderr, "Child %s exited: %i\n", cmd,
WEXITSTATUS(wstatus));
if (WEXITSTATUS(wstatus) == 0)