Display consistent banner

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2020-09-17 10:46:53 -07:00
parent c6dea1525f
commit f84be9faa4
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -3605,7 +3605,7 @@ status_command() {
[ $# -eq 0 ] || missing_argument [ $# -eq 0 ] || missing_argument
[ $VERBOSITY -ge 1 ] && echo "${g_product}-$SHOREWALL_VERSION Status at $g_hostname - $(date)" && echo [ $VERBOSITY -ge 1 ] && echo "${g_product} $SHOREWALL_VERSION Status at $g_hostname - $(date)" && echo
show_status show_status
[ -n "$interfaces" ] && show_interfaces [ -n "$interfaces" ] && show_interfaces
exit $status exit $status
@ -4753,7 +4753,7 @@ shorewall_cli() {
exit 1 exit 1
fi fi
banner="${g_product}-${SHOREWALL_VERSION} Status at $g_hostname -" banner="${g_product} ${SHOREWALL_VERSION} Status at $g_hostname -"
COMMAND=$1 COMMAND=$1
@ -4843,7 +4843,7 @@ shorewall_cli() {
logwatch) logwatch)
only_root only_root
get_config Yes Yes Yes get_config Yes Yes Yes
banner="${g_product}-$SHOREWALL_VERSION Logwatch at $g_hostname -" banner="${g_product} $SHOREWALL_VERSION Logwatch at $g_hostname -"
logwatch_command $@ logwatch_command $@
;; ;;
drop) drop)