diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-09 19:32:12 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-09 19:32:12 +0200 |
commit | 512dae07e3249d3eaab6e468bf77816d053c9101 (patch) | |
tree | 5f2b89c497d3036ab279d4d4ffd1cfc7d0f99984 | |
parent | dde820746850b4abe18503e7c6f38d6532a407ce (diff) |
Ehrm....execute the right command
-rw-r--r-- | server.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -256,7 +256,7 @@ exec_cmd(struct cfg *cfg, struct server *scfg, const char *cmd) return false; } else { - execl(scfg->start_exec, scfg->start_exec, NULL); + execl(cmd, cmd, NULL); perror("execl"); exit(EXIT_FAILURE); } |