set truncation to 45 char
This commit is contained in:
parent
ef54d4fd6c
commit
bfa2a45a54
@ -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")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user