diff options
-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) |