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