Explorar o código

Merge branch 'master' of github.com:profplump/UberZach-Integration

Zachary Kotlarek %!s(int64=11) %!d(string=hai) anos
pai
achega
76a639599d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      pms/PMSCheck.sh

+ 2 - 2
pms/PMSCheck.sh

@@ -89,8 +89,8 @@ while [ $LOOP -ne 0 ]; do
 		if [ -z "${MEM}" ]; then
 		if [ -z "${MEM}" ]; then
 			FAILED="Unable to read memory use"
 			FAILED="Unable to read memory use"
 		fi
 		fi
-		if [ $VSIZE -gt $MAX_VSIZE ]; then
-			FAILED="Memory use too high: ${VSIZE}/${MAX_VSIZE} kB"
+		if [ $MEM -gt $MAX_MEM ]; then
+			FAILED="Memory use too high: ${MEM}/${MAX_MEM} kB"
 		fi
 		fi
 	fi
 	fi