summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-09 19:34:58 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-09 19:34:58 +0200
commit5fd0055aee5124b9ad6573e5ed363d5bf63bcf80 (patch)
tree975ba2126aad08a6a54ef815bc0651084fdc2f4f
parent512dae07e3249d3eaab6e468bf77816d053c9101 (diff)
Ehrm....and another one
-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)