summaryrefslogtreecommitdiffstats
path: root/lib/network/thirdparty.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/thirdparty.pm')
-rw-r--r--lib/network/thirdparty.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/network/thirdparty.pm b/lib/network/thirdparty.pm
index 2c8acb0..a2a4a5c 100644
--- a/lib/network/thirdparty.pm
+++ b/lib/network/thirdparty.pm
@@ -328,11 +328,11 @@ sub apply_settings {
install_packages($in, $settings, $driver, @thirdparty_types) or return;
- if (exists $settings->{firmware} && !$settings->{old_status}{firmware}) {
- log::explanations("Reloading module $driver");
- eval { modules::unload($driver) };
- eval { modules::load($driver) };
- }
+ if (exists $settings->{firmware} && !$settings->{old_status}{firmware}) {
+ log::explanations("Reloading module $driver");
+ eval { modules::unload($driver) };
+ eval { modules::load($driver) };
+ }
undef $wait;
$wait = $in->wait_message('', N("Please wait, running device configuration commands..."));