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
|
||||
TRUNCATED="${LSOUTPUT:0:50}"
|
||||
if [ ${#LSOUTPUT} -gt 50 ]; then
|
||||
if [ ${#LSOUTPUT} -gt 45 ]; then
|
||||
TRUNCATED="${TRUNCATED}..."
|
||||
fi
|
||||
DISKARRAY+=("$LSOUTPUT" "$TRUNCATED" "OFF")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user