From 0e4a1b73dacbd75d3a5c0c685131c5f04520e887 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 22 May 2023 22:41:04 -0500 Subject: [PATCH] Update status.inc --- inc/status.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/status.inc b/inc/status.inc index c55b54d0..84469047 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -42,7 +42,7 @@ STATUS(){ ######################## if [ "${ST_ACTION}" = "" ] || [ "${ST_ACTION}" = "report" ] || [ "${ST_ACTION}" = "services" ] || [ "${ST_ACTION}" = "dockers" ] || [ "${ST_ACTION}" = "check" ]; then - if [ ! -z ${LOCAL_SERVICES+x} ]; then + if [ ! -z ${LOCAL_SERVICES+x} ] && [ "${ST_ACTION}" != "dockers" ]; then if [ "${ST_ACTION}" != "check" ]; then lip=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) echo -e "\n$(DIVIDER)\n${idsCL[Yellow]}${idsST[Bold]} LOCALHOST Service Status${idsST[Reset]}${idsCL[Default]}"