From 4f6d321b8175f4964eee80e8c0ebae159088b47c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 2 Jan 2023 10:45:28 -0600 Subject: [PATCH] Update dsmon.sh --- dsmon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsmon.sh b/dsmon.sh index 193f281..5f8bea4 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -125,7 +125,7 @@ CHECK(){ dname=${dname//\/dev\/mapper\//} dname=${dname//\/dev\//} - if [ "${dname}" = "sda1" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then + if [ "${dname}" = "sda1" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 102 ]; then systempartition=true elif [ "${dname}" = "sda2" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then systempartition=true