diff --git a/spcd/main.sh b/spcd/main.sh index 88c310e..a833849 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -837,8 +837,10 @@ spcd_banner() { spcd_banner_add "${spcd_banner__index}" # for spcd_banner__item in "${SPCD_STEP_TEXT}" "${SPCD_SUBSTEP_TEXT}"; do - spcd_banner_add_123 "┬" "${SPCD_VERT}" "┴" - spcd_banner_add "${spcd_banner__item}" + if [ -n "${spcd_banner__item}" ]; then + spcd_banner_add_123 "┬" "${SPCD_VERT}" "┴" + spcd_banner_add "${spcd_banner__item}" + fi done # spcd_banner_add_123 "╮" "${SPCD_VERT}" "╯"