summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/network/thirdparty.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/network/thirdparty.pm b/lib/network/thirdparty.pm
index a2a4a5c..98bd9bb 100644
--- a/lib/network/thirdparty.pm
+++ b/lib/network/thirdparty.pm
@@ -331,8 +331,10 @@ sub apply_settings {
if (exists $settings->{firmware} && !$settings->{old_status}{firmware}) {
log::explanations("Reloading module $driver");
eval { modules::unload($driver) };
- eval { modules::load($driver) };
+ } else {
+ log::explanations("Loading module $driver");
}
+ eval { modules::load($driver) };
undef $wait;
$wait = $in->wait_message('', N("Please wait, running device configuration commands..."));