diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-09 19:34:58 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-09 19:34:58 +0200 |
commit | 5fd0055aee5124b9ad6573e5ed363d5bf63bcf80 (patch) | |
tree | 975ba2126aad08a6a54ef815bc0651084fdc2f4f | |
parent | 512dae07e3249d3eaab6e468bf77816d053c9101 (diff) |
Ehrm....and another one
-rw-r--r-- | server.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |