mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-23 20:35:42 +02:00
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);
|
execvp(m->path, argv);
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
write(exec_pipe[1], &errno, sizeof(errno));
|
(void)!write(exec_pipe[1], &errno, sizeof(errno));
|
||||||
close(exec_pipe[1]);
|
close(exec_pipe[1]);
|
||||||
close(comm_pipe[1]);
|
close(comm_pipe[1]);
|
||||||
_exit(errno);
|
_exit(errno);
|
||||||
|
|
Loading…
Add table
Reference in a new issue