mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 17:28:35 +02:00
Revert "init: Don't set the 'file' var needlessly"
This reverts commit 44e9c7780ff075414c671f6e3dc98527f00e73a7.
This commit is contained in:
parent
4af278338f
commit
cabef548a6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user