Skip to content

Commit

Permalink
Make rubocop happy
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Feb 19, 2020
1 parent a3cb10b commit 01c3623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/y2network/interface_config_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def save
yast_config.add_or_update_connection_config(@connection_config)
# Assign the new added interface in case of a new connection for an
# unplugged one (bsc#1162679)
interface = find_interface unless interface
interface ||= find_interface

if interface.respond_to?(:custom_driver)
interface.custom_driver = driver_auto? ? nil : driver.name
Expand Down

0 comments on commit 01c3623

Please sign in to comment.