Falscher Rückgabewert berichtigt

This commit is contained in:
root 2019-10-13 20:14:42 +02:00
parent 4c0d63ee7f
commit 62a1d19f5b

View File

@ -125,7 +125,7 @@ then
elif [ "$OUTTEMPCLEAN" -ge "$WARNING" ] && [ "$OUTTEMPCLEAN" -lt "$CRITICAL" ]
then
echo "WARNING - $OUTMODEL on $OUTDEV is $OUTTEMP $PERFRESULT"
exit 3
exit 1
elif [ "$OUTTEMPCLEAN" -ge "$CRITICAL" ]
then
echo "CRITICAL - $OUTMODEL on $OUTDEV is $OUTTEMP $PERFRESULT"