--- loncom/configuration/Firewall.pm 2018/10/24 02:08:04 1.15 +++ loncom/configuration/Firewall.pm 2018/12/12 03:34:04 1.16 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Firewall configuration to allow internal LON-CAPA communication between servers # -# $Id: Firewall.pm,v 1.15 2018/10/24 02:08:04 raeburn Exp $ +# $Id: Firewall.pm,v 1.16 2018/12/12 03:34:04 raeburn Exp $ # # The LearningOnline Network with CAPA # @@ -58,7 +58,7 @@ sub uses_firewalld { } if ($checkfirewalld) { my ($loaded,$active); - if (open(PIPE,"systemctl status firewalld |")) { + if (open(PIPE,"systemctl status firewalld 2>&1 |")) { while () { chomp(); if (/^\s*Loaded:\s+(\w+)/) {