Use the correct error code when Shoerwall-init is not configured

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2020-04-15 09:17:51 -07:00
parent 9d3da44dad
commit 3c36d638a5

View File

@ -116,7 +116,7 @@ if [ -f "$SYSCONFDIR/shorewall-init" ]; then
. $SYSCONFDIR/shorewall-init
if [ -z "$PRODUCTS" ]; then
echo "ERROR: No products configured" >&2
exit 1
exit 6
fi
else
echo "ERROR: ${SYSCONFDIR}/shorewall-init not found" >&2