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