Return to Firewall.pm CVS log | Up to [LON-CAPA] / loncom / configuration |
version 1.15, 2018/10/24 02:08:04 | version 1.16, 2018/12/12 03:34:04 |
---|---|
Line 58 sub uses_firewalld { | Line 58 sub uses_firewalld { |
} | } |
if ($checkfirewalld) { | if ($checkfirewalld) { |
my ($loaded,$active); | my ($loaded,$active); |
if (open(PIPE,"systemctl status firewalld |")) { | if (open(PIPE,"systemctl status firewalld 2>&1 |")) { |
while (<PIPE>) { | while (<PIPE>) { |
chomp(); | chomp(); |
if (/^\s*Loaded:\s+(\w+)/) { | if (/^\s*Loaded:\s+(\w+)/) { |