shorewall: Correct the filepath of .shorewallrc

Signed-off-by: Matt Darfeuille <matdarf@gmail.com>
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Matt Darfeuille 2016-12-12 16:29:08 +01:00 committed by Tom Eastep
parent 56d4d01984
commit fa8e92cbd3
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -175,7 +175,7 @@ if [ $# -eq 0 ]; then
. ./shorewallrc
elif [ -f ~/.shorewallrc ]; then
. ~/.shorewallrc || exit 1
file=./.shorewallrc
file=~/.shorewallrc
elif [ -f /usr/share/shorewall/shorewallrc ]; then
. /usr/share/shorewall/shorewallrc
else