mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2026-02-05 14:45:19 +01:00
Fix tmp file cleanup
This commit is contained in:
@@ -35,5 +35,5 @@ fi
|
||||
|
||||
echo "$MESSAGE | $PERFDATA"
|
||||
grep -E "^Error|^Warning" "$TMPFILE"
|
||||
rm -f TMPFILE
|
||||
rm -f $TMPFILE
|
||||
exit $EXIT_CODE
|
||||
|
||||
Reference in New Issue
Block a user