Fixed failing execvp calls leaving a process running.
This commit is contained in:
parent
8f20d23d4c
commit
b815a79628
@ -138,6 +138,7 @@ int externcmd_execute(EXTERNCMD* cmd)
|
||||
{
|
||||
/** Child process, execute command */
|
||||
execvp(cmd->parameters[0],cmd->parameters);
|
||||
exit(1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user