From 4cc1329b40a306e22742bd7190f06cf21c8f46c7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 14 Apr 2022 13:56:55 -0400 Subject: [PATCH] Update debian-v3.sh --- ct/debian-v3.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ct/debian-v3.sh b/ct/debian-v3.sh index 616de1fc..8a6d44b8 100644 --- a/ct/debian-v3.sh +++ b/ct/debian-v3.sh @@ -119,9 +119,10 @@ header_info if [ -z $CT_NAME ]; then CT_NAME=$NSAPP; HN=$NSAPP - else - HN=$(echo ${CT_NAME,,} | tr -d ' ') - fi + fi + if [ $CT_NAME ]; then + HN=$(echo ${CT_NAME,,} | tr -d ' ') + fi echo -en "${GN}Set CT Name To ${BL}$CT_NAME${CL}" echo -e " ${CM}${CL} \r" sleep 1