diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli index ef1995aa4..3cf4fcb97 100644 --- a/Shorewall-core/lib.cli +++ b/Shorewall-core/lib.cli @@ -3139,7 +3139,7 @@ shorewall_cli() { g_shorewalldir= VERBOSE= - VERBOSITY= + VERBOSITY=1 [ -n "$g_lite" ] || . ${g_basedir}/lib.cli-std diff --git a/Shorewall/lib.cli-std b/Shorewall/lib.cli-std index 2f68ce9ad..7f23ff344 100644 --- a/Shorewall/lib.cli-std +++ b/Shorewall/lib.cli-std @@ -34,8 +34,6 @@ get_config() { ensure_config_path - - if [ "$1" = Yes ]; then params=$(find_file params) @@ -378,7 +376,7 @@ compiler() { # # Get the config from $g_shorewalldir # - [ -n "$g_shorewalldir" -a "$g_shorewalldir" != ${g_confdir} ] && get_config + get_config Yes case $COMMAND in *start|try|refresh) @@ -1648,7 +1646,6 @@ compiler_command() { case $COMMAND in compile) - get_config Yes shift compile_command $@ ;; @@ -1658,7 +1655,6 @@ compiler_command() { refresh_command $@ ;; check) - get_config Yes shift check_command $@ ;;