Skip to content

Commit

Permalink
Apply deconfigure-fix to other managers
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorRigby committed Jan 16, 2019
1 parent 9ee1e7c commit 45433a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/nerves_network/dhcp_manager.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/nerves_network/linklocal_manager.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/nerves_network/static_manager.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45433a9

Please sign in to comment.