From aab1df74211638a25803a13cad0c3815c7aa8332 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 6 Oct 2018 08:22:46 -0700 Subject: [PATCH] Correct ip[6]tables-restore failure message Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Chains.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index 26ef05d6d..4eeb49b63 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -9193,7 +9193,7 @@ sub create_netfilter_load( $ ) { '', "cat \${VARDIR}/.${utility}-input | \$command # Use this nonsensical form to appease SELinux", 'if [ $? != 0 ]; then', - qq( fatal_error "iptables-restore Failed. Input is in \${VARDIR}/.${utility}-input"), + qq( fatal_error "$utility Failed. Input is in \${VARDIR}/.${utility}-input"), 'fi' );