module/script: explicitly ignore return value of write(3)

This commit is contained in:
Daniel Eklöf 2020-10-29 18:04:13 +01:00
parent 7f1ffd126b
commit 9945fce2d2
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

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