Fix comment
Some comment was having some copy/paste issue. Fixed.
This commit is contained in:
parent
1c61480b71
commit
935d0f478d
4
exec.c
4
exec.c
@ -101,8 +101,8 @@ struct runresult_t exec_command(const char **argv, bool show_output) {
|
|||||||
execvp(argvcopy[0], argvcopy);
|
execvp(argvcopy[0], argvcopy);
|
||||||
log_libc(LLVL_ERROR, "Execution of %s in forked child process failed execvp(3)", argvcopy[0]);
|
log_libc(LLVL_ERROR, "Execution of %s in forked child process failed execvp(3)", argvcopy[0]);
|
||||||
|
|
||||||
/* Exec failed, terminate chExec failed, terminate child process
|
/* Exec failed, terminate child with EXIT_FAILUR (parent will catch
|
||||||
* (parent will catch this as the return code) */
|
* this as the return code) */
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user