Handle or voidify all calls to close_all_fds()

In activate, it is important that we close the fds. In other cases, meh.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-03-15 15:46:41 +01:00
parent 054d871d41
commit 7acf581a58
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ int stub_pid1(sd_id128_t uuid) {
reset_all_signal_handlers();
log_close();
close_all_fds(NULL, 0);
(void) close_all_fds(NULL, 0);
log_open();
/* Flush out /proc/self/environ, so that we don't leak the environment from the host into the container. Also,