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