From f84be9faa4cba56cf7e288f5f7678e8a96904543 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 17 Sep 2020 10:46:53 -0700 Subject: [PATCH] Display consistent banner Signed-off-by: Tom Eastep --- Shorewall-core/lib.cli | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli index b945f0933..6abf6f3f5 100644 --- a/Shorewall-core/lib.cli +++ b/Shorewall-core/lib.cli @@ -3605,7 +3605,7 @@ status_command() { [ $# -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 [ -n "$interfaces" ] && show_interfaces exit $status @@ -4753,7 +4753,7 @@ shorewall_cli() { exit 1 fi - banner="${g_product}-${SHOREWALL_VERSION} Status at $g_hostname -" + banner="${g_product} ${SHOREWALL_VERSION} Status at $g_hostname -" COMMAND=$1 @@ -4843,7 +4843,7 @@ shorewall_cli() { logwatch) only_root 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 $@ ;; drop)