From cf8198ac9a2650b96b195e7e84626a4d8bfc8193 Mon Sep 17 00:00:00 2001 From: Digimer Date: Wed, 20 Jul 2022 15:05:27 -0400 Subject: [PATCH] Fixed a typo causing a compilation error. Signed-off-by: Digimer --- Anvil/Tools/Network.pm | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Anvil/Tools/Network.pm b/Anvil/Tools/Network.pm index 07dee1f6..57c1a642 100644 --- a/Anvil/Tools/Network.pm +++ b/Anvil/Tools/Network.pm @@ -2977,21 +2977,20 @@ sub manage_firewall # Disable and stop. $anvil->System->disable_daemon({ now => 1, - daemon => $anvil->data->{sys}{daemon}{firewalld}. + daemon => $anvil->data->{sys}{daemon}{firewalld}, }); } - return(0); # Before we do anything, is the firewall even running? - my $firewalld_running = $anvil->Network->check_firewall({debug => $debug}); - $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => $debug, list => { firewalld_running => $firewalld_running }}); - if (not $firewalld_running) - { - $anvil->Log->entry({source => $THIS_FILE, line => __LINE__, 'print' => 1, level => 2, key => "log_0669"}); - return(1); - } +# my $firewalld_running = $anvil->Network->check_firewall({debug => $debug}); +# $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => $debug, list => { firewalld_running => $firewalld_running }}); +# if (not $firewalld_running) +# { +# $anvil->Log->entry({source => $THIS_FILE, line => __LINE__, 'print' => 1, level => 2, key => "log_0669"}); +# return(1); +# } # What we do next depends on what we're doing. my $host_type = $anvil->Get->host_type;