Correct ip[6]tables-restore failure message

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2018-10-06 08:22:46 -07:00
parent 9f3cc88cf0
commit aab1df7421
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -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'
);