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)