pid1, nspawn: voidify loopback_setup()

This commit is contained in:
Yu Watanabe 2020-03-04 21:20:31 +09:00 committed by Zbigniew Jędrzejewski-Szmek
parent fd74a13e85
commit df883de98a
2 changed files with 2 additions and 2 deletions

View File

@ -1930,7 +1930,7 @@ static int initialize_runtime(
status_welcome();
hostname_setup();
machine_id_setup(NULL, arg_machine_id, NULL);
loopback_setup();
(void) loopback_setup();
bump_unix_max_dgram_qlen();
bump_file_max_and_nr_open();
test_usr();

View File

@ -3000,7 +3000,7 @@ static int inner_child(
return log_error_errno(errno, "setsid() failed: %m");
if (arg_private_network)
loopback_setup();
(void) loopback_setup();
if (arg_expose_ports) {
r = expose_port_send_rtnl(rtnl_socket);