corrected perror value in run_prog
This commit is contained in:
förälder
a8db2df993
incheckning
252df6f648
@ -246,9 +246,7 @@ bool run_prog(const char *eventfile, uint32_t eventmask)
|
||||
}
|
||||
|
||||
execv(prog, script_arguments);
|
||||
|
||||
|
||||
perror("execlp");
|
||||
perror("execv");
|
||||
return false;
|
||||
}
|
||||
if(pid == -1)
|
||||
|
Laddar…
Referens i nytt ärende
Block a user