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