From fddb6a970d6f3408551716eadc6593982d3fb1c5 Mon Sep 17 00:00:00 2001 From: nega0 Date: Tue, 17 Aug 2021 03:24:32 -0400 Subject: [PATCH] expand drive id column so it doesnt break (#109) [megaclisas_status] expand drive id column so it doesnt break (#109) --- wrapper-scripts/megaclisas-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrapper-scripts/megaclisas-status b/wrapper-scripts/megaclisas-status index 3678157..e4bc4de 100755 --- a/wrapper-scripts/megaclisas-status +++ b/wrapper-scripts/megaclisas-status @@ -830,7 +830,7 @@ if totaldrivenumber: arraydisk = returnDiskInfo(output,controllerid) # Adjust print format with width computed above - drvfmt = "%-"+str(dlen+5)+"s | %-4s | %-"+str(mlen)+"s | %-8s | %-"+str(flen)+"s | %-8s | %-4s | %-8s | %-8s" + drvfmt = "%-"+str(dlen+6)+"s | %-4s | %-"+str(mlen)+"s | %-8s | %-"+str(flen)+"s | %-8s | %-4s | %-8s | %-8s" for array in arraydisk: # Header if ( i == 0 ):