1
0
mirror of https://gitlab.com/shorewall/code.git synced 2025-07-06 01:20:03 +02:00

shorewall: Don't set the 'file' var needlessly

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-19 08:24:49 +01:00
committed by Tom Eastep
parent 6ff1833ae0
commit 30331fecda

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