mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-25 03:43:46 +01:00
Fix tmp file cleanup
This commit is contained in:
parent
4d69437590
commit
d776077d65
@ -35,5 +35,5 @@ fi
|
|||||||
|
|
||||||
echo "$MESSAGE | $PERFDATA"
|
echo "$MESSAGE | $PERFDATA"
|
||||||
grep -E "^Error|^Warning" "$TMPFILE"
|
grep -E "^Error|^Warning" "$TMPFILE"
|
||||||
rm -f TMPFILE
|
rm -f $TMPFILE
|
||||||
exit $EXIT_CODE
|
exit $EXIT_CODE
|
||||||
|
Loading…
Reference in New Issue
Block a user