corrected perror value in run_prog

This commit is contained in:
Albert S. 2014-10-21 23:51:37 +02:00
父節點 a8db2df993
當前提交 252df6f648
共有 1 個文件被更改,包括 1 次插入3 次删除

查看文件

@ -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)