Falscher Rückgabewert berichtigt
This commit is contained in:
parent
4c0d63ee7f
commit
62a1d19f5b
@ -125,7 +125,7 @@ then
|
|||||||
elif [ "$OUTTEMPCLEAN" -ge "$WARNING" ] && [ "$OUTTEMPCLEAN" -lt "$CRITICAL" ]
|
elif [ "$OUTTEMPCLEAN" -ge "$WARNING" ] && [ "$OUTTEMPCLEAN" -lt "$CRITICAL" ]
|
||||||
then
|
then
|
||||||
echo "WARNING - $OUTMODEL on $OUTDEV is $OUTTEMP $PERFRESULT"
|
echo "WARNING - $OUTMODEL on $OUTDEV is $OUTTEMP $PERFRESULT"
|
||||||
exit 3
|
exit 1
|
||||||
elif [ "$OUTTEMPCLEAN" -ge "$CRITICAL" ]
|
elif [ "$OUTTEMPCLEAN" -ge "$CRITICAL" ]
|
||||||
then
|
then
|
||||||
echo "CRITICAL - $OUTMODEL on $OUTDEV is $OUTTEMP $PERFRESULT"
|
echo "CRITICAL - $OUTMODEL on $OUTDEV is $OUTTEMP $PERFRESULT"
|
||||||
|
Loading…
Reference in New Issue
Block a user