forked from extern/shorewall_code
Revert idiotic change to lib.cli
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
dcade04fba
commit
1a95db73e9
@ -4531,7 +4531,7 @@ shorewall_cli() {
|
|||||||
usage 1
|
usage 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
setup_product_environment
|
setup_product_environment 1
|
||||||
|
|
||||||
[ -n "$g_lite" ] || . ${SHAREDIR}/shorewall/lib.cli-std
|
[ -n "$g_lite" ] || . ${SHAREDIR}/shorewall/lib.cli-std
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ fatal_error() # $@ = Message
|
|||||||
exit 2
|
exit 2
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_product_environment() {
|
setup_product_environment() { # $1 = if non-empty, source shorewallrc again now that we have the correct product
|
||||||
g_basedir=${SHAREDIR}/shorewall
|
g_basedir=${SHAREDIR}/shorewall
|
||||||
|
|
||||||
g_sharedir="$SHAREDIR"/$PRODUCT
|
g_sharedir="$SHAREDIR"/$PRODUCT
|
||||||
|
Loading…
Reference in New Issue
Block a user