Fix typo: should check for `$NAT_TABLE`

This commit is contained in:
Brian John 2022-01-01 16:17:31 -06:00
parent 69f01ffcc8
commit 8d061ecf65
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ fi
if [ "$TABLE" != "$NAT_TABLE" ]
then
$NFT --check list table inet $TABLE > /dev/null 2>&1
$NFT --check list table inet $NAT_TABLE > /dev/null 2>&1
if [ $? -eq "0" ]; then
# then remove the table itself
echo "Remove miniupnpd nat table"