corrected perror value in run_prog
This commit is contained in:
父節點
a8db2df993
當前提交
252df6f648
@ -246,9 +246,7 @@ bool run_prog(const char *eventfile, uint32_t eventmask)
|
|||||||
}
|
}
|
||||||
|
|
||||||
execv(prog, script_arguments);
|
execv(prog, script_arguments);
|
||||||
|
perror("execv");
|
||||||
|
|
||||||
perror("execlp");
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if(pid == -1)
|
if(pid == -1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user