mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 14:20:40 +01:00
Delete questionable logic in lib.cli
- It hasn't worked since there was a typo in it that prevented it from doing the correct thing. Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
16e3cb1b43
commit
3cb45f234e
@ -4040,10 +4040,6 @@ shorewall_cli() {
|
|||||||
|
|
||||||
[ -n "${VARDIR:=/var/lib/$g_program}" ]
|
[ -n "${VARDIR:=/var/lib/$g_program}" ]
|
||||||
|
|
||||||
if [ ! -f ${VARDIR}/firewall ]; then
|
|
||||||
[ -f ${VARDIR}/.restore ] && cp -f ${VARDIR}/.restore ${VARDIR}/firewall
|
|
||||||
fi
|
|
||||||
|
|
||||||
g_firewall=${VARDIR}/firewall
|
g_firewall=${VARDIR}/firewall
|
||||||
|
|
||||||
version_file=${g_sharedir}/version
|
version_file=${g_sharedir}/version
|
||||||
|
Loading…
Reference in New Issue
Block a user