Revert idiotic change to lib.cli

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-12-20 08:39:26 -08:00
parent dcade04fba
commit 1a95db73e9
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10
2 changed files with 2 additions and 2 deletions

View File

@ -4531,7 +4531,7 @@ shorewall_cli() {
usage 1
fi
setup_product_environment
setup_product_environment 1
[ -n "$g_lite" ] || . ${SHAREDIR}/shorewall/lib.cli-std

View File

@ -35,7 +35,7 @@ fatal_error() # $@ = Message
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_sharedir="$SHAREDIR"/$PRODUCT