Revert "init: Don't set the 'file' var needlessly"

This reverts commit 44e9c7780f.
This commit is contained in:
Tom Eastep 2016-12-19 10:25:30 -08:00
parent 4af278338f
commit cabef548a6
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -164,8 +164,10 @@ if [ $# -eq 0 ]; then
#
if [ -f ./shorewallrc ]; then
. ./shorewallrc || exit 1
file=./shorewallrc
elif [ -f ~/.shorewallrc ]; then
. ~/.shorewallrc || exit 1
file=~/.shorewallrc
else
fatal_error "No configuration file specified and ~/.shorewallrc not found"
fi