mirror of
https://github.com/systemd/systemd.git
synced 2025-01-12 13:18:14 +03:00
transaction: clarify via void-casting that we ignore the pipe2() return value for a reason
This commit is contained in:
parent
cd72bd8a46
commit
1afaa7e8d2
@ -736,8 +736,8 @@ int transaction_activate(Transaction *tr, Manager *m, JobMode mode, sd_bus_error
|
||||
|
||||
if (m->idle_pipe[0] < 0 && m->idle_pipe[1] < 0 &&
|
||||
m->idle_pipe[2] < 0 && m->idle_pipe[3] < 0) {
|
||||
pipe2(m->idle_pipe, O_NONBLOCK|O_CLOEXEC);
|
||||
pipe2(m->idle_pipe + 2, O_NONBLOCK|O_CLOEXEC);
|
||||
(void) pipe2(m->idle_pipe, O_NONBLOCK|O_CLOEXEC);
|
||||
(void) pipe2(m->idle_pipe + 2, O_NONBLOCK|O_CLOEXEC);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user