set truncation to 45 char

This commit is contained in:
juronja 2026-02-17 10:29:52 +00:00
parent ef54d4fd6c
commit bfa2a45a54

View File

@ -561,7 +561,7 @@ if [ "$IMPORT_DISKS" == "yes" ]; then
while read -r LSOUTPUT; do while read -r LSOUTPUT; do
TRUNCATED="${LSOUTPUT:0:50}" TRUNCATED="${LSOUTPUT:0:50}"
if [ ${#LSOUTPUT} -gt 50 ]; then if [ ${#LSOUTPUT} -gt 45 ]; then
TRUNCATED="${TRUNCATED}..." TRUNCATED="${TRUNCATED}..."
fi fi
DISKARRAY+=("$LSOUTPUT" "$TRUNCATED" "OFF") DISKARRAY+=("$LSOUTPUT" "$TRUNCATED" "OFF")