From 9478fffd5a0fbf87e869ceececa4377f9d5d3e17 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 19 Feb 2024 13:13:44 -0500 Subject: [PATCH] Update fstrim.sh tweak --- misc/fstrim.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/fstrim.sh b/misc/fstrim.sh index 6b445667..5c0e2ae6 100644 --- a/misc/fstrim.sh +++ b/misc/fstrim.sh @@ -45,7 +45,7 @@ excluded_containers=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title " function trim_container() { local container=$1 header_info - echo -e "${BL}[Info]${GN} Trimming ${container} ${CL} \n" + echo -e "${BL}[Info]${GN} Trimming ${BL}$container${CL} \n" local before_trim=$(lvs | awk -F '[[:space:]]+' 'NR>1 && (/Data%|'"vm-$container"'/) {gsub(/%/, "", $7); print $7}') echo -e "${RD}Data before trim $before_trim%${CL}" pct fstrim $container