pid1, nspawn: voidify loopback_setup()
This commit is contained in:
parent
fd74a13e85
commit
df883de98a
|
@ -1930,7 +1930,7 @@ static int initialize_runtime(
|
||||||
status_welcome();
|
status_welcome();
|
||||||
hostname_setup();
|
hostname_setup();
|
||||||
machine_id_setup(NULL, arg_machine_id, NULL);
|
machine_id_setup(NULL, arg_machine_id, NULL);
|
||||||
loopback_setup();
|
(void) loopback_setup();
|
||||||
bump_unix_max_dgram_qlen();
|
bump_unix_max_dgram_qlen();
|
||||||
bump_file_max_and_nr_open();
|
bump_file_max_and_nr_open();
|
||||||
test_usr();
|
test_usr();
|
||||||
|
|
|
@ -3000,7 +3000,7 @@ static int inner_child(
|
||||||
return log_error_errno(errno, "setsid() failed: %m");
|
return log_error_errno(errno, "setsid() failed: %m");
|
||||||
|
|
||||||
if (arg_private_network)
|
if (arg_private_network)
|
||||||
loopback_setup();
|
(void) loopback_setup();
|
||||||
|
|
||||||
if (arg_expose_ports) {
|
if (arg_expose_ports) {
|
||||||
r = expose_port_send_rtnl(rtnl_socket);
|
r = expose_port_send_rtnl(rtnl_socket);
|
||||||
|
|
Loading…
Reference in a new issue