1
0
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:
Pall Sigurdsson 2013-04-19 11:15:59 +00:00
parent 4d69437590
commit d776077d65

View File

@ -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