Fixed failing execvp calls leaving a process running.

This commit is contained in:
Markus Makela 2015-05-20 13:06:08 +03:00
parent 8f20d23d4c
commit b815a79628

View File

@ -138,6 +138,7 @@ int externcmd_execute(EXTERNCMD* cmd)
{
/** Child process, execute command */
execvp(cmd->parameters[0],cmd->parameters);
exit(1);
}
else
{