From df3ac965b9537d051af65f44deca92a972e5b374 Mon Sep 17 00:00:00 2001 From: Daniel Dolezal Date: Fri, 17 Apr 2026 10:26:13 +0200 Subject: [PATCH] fixing terminal sepurator to fill it --- entrypoint-script/variables.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint-script/variables.sh b/entrypoint-script/variables.sh index f5a6eae..d23c288 100644 --- a/entrypoint-script/variables.sh +++ b/entrypoint-script/variables.sh @@ -2,7 +2,7 @@ DOCKER_IMAGE_VERSION="3.0.0" BORG_VERSION=$(borg -V) SSH_FOLDERS=( "/sshkeys/clients" "/sshkeys/host" ) NODE_EXPORTER_DIR="/var/log" -COLUMNS="86" +DEFAULT_COLUMNS="86" ############################################################################### # Funktionen ############################################################################### @@ -11,7 +11,7 @@ function sepurator { local end="$2" else local end - end=$(tput cols 2>/dev/null || echo "${COLUMNS:-80}") + end=$(tput cols 2>/dev/null || echo "${COLUMNS:-${DEFAULT_COLUMNS:-80}}") fi local start=1