diff --git a/lib/nerves_network/dhcp_manager.ex b/lib/nerves_network/dhcp_manager.ex index a5d6e40..5494312 100644 --- a/lib/nerves_network/dhcp_manager.ex +++ b/lib/nerves_network/dhcp_manager.ex @@ -314,7 +314,7 @@ defmodule Nerves.Network.DHCPManager do nameservers: [] ] - :ok = Nerves.NetworkInterface.setup(state.ifname, clear) + _ = Nerves.NetworkInterface.setup(state.ifname, clear) :ok = Nerves.Network.Resolvconf.clear(Nerves.Network.Resolvconf, state.ifname) state end diff --git a/lib/nerves_network/linklocal_manager.ex b/lib/nerves_network/linklocal_manager.ex index 6625f02..3447755 100644 --- a/lib/nerves_network/linklocal_manager.ex +++ b/lib/nerves_network/linklocal_manager.ex @@ -161,7 +161,7 @@ defmodule Nerves.Network.LinkLocalManager do nameservers: [] ] - :ok = Nerves.NetworkInterface.setup(state.ifname, clear) + _ = Nerves.NetworkInterface.setup(state.ifname, clear) goto_context(state, :down) end diff --git a/lib/nerves_network/static_manager.ex b/lib/nerves_network/static_manager.ex index 3c513b3..78e2f5c 100644 --- a/lib/nerves_network/static_manager.ex +++ b/lib/nerves_network/static_manager.ex @@ -180,7 +180,7 @@ defmodule Nerves.Network.StaticManager do nameservers: [] ] - :ok = Nerves.NetworkInterface.setup(state.ifname, clear) + _ = Nerves.NetworkInterface.setup(state.ifname, clear) :ok = Nerves.Network.Resolvconf.clear(Nerves.Network.Resolvconf, state.ifname) state end