mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-05 01:53:44 +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