forked from external/yambar
module/script: explicitly ignore return value of write(3)
This commit is contained in:
parent
7f1ffd126b
commit
9945fce2d2
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ run(struct module *mod)
|
|||
execvp(m->path, argv);
|
||||
|
||||
fail:
|
||||
write(exec_pipe[1], &errno, sizeof(errno));
|
||||
(void)!write(exec_pipe[1], &errno, sizeof(errno));
|
||||
close(exec_pipe[1]);
|
||||
close(comm_pipe[1]);
|
||||
_exit(errno);
|
||||
|
|
Loading…
Add table
Reference in a new issue