check_mrtg: fix plugin returning UNKNOWN instead of OK (bug #2378068)

This commit is contained in:
Thomas Guyot-Sionnest 2008-12-03 08:00:05 -05:00
parent d2f56c4e86
commit f8b606b728
3 changed files with 3 additions and 1 deletions

1
NEWS
View file

@ -18,6 +18,7 @@ This file documents the major additions and syntax changes between releases.
check_disk: make autofs mount paths specified with -p before we determing the mount list (Erik Welch)
Fixed buffer overflow in check_ntp/check_ntp_peer (#1999319, Ubuntu #291265)
Re-bundled libtap as a built-in library (--enable-libtap): detects system library as pre-1.4.13 and does not install the built-in library anymore
Fixed check_mrtg returning UNKNOWN instead of OK (bug #2378068)
1.4.13 25th Sept 2008
Fix Debian bug #460097: check_http --max-age broken (Hilko Bengen)

View file

@ -244,3 +244,4 @@ Steve Rader
Dieter Van de Walle
Jan Lipphaus
Erik Welch
Nik Soggia

View file

@ -53,7 +53,7 @@ char *units;
int
main (int argc, char **argv)
{
int result = STATE_UNKNOWN;
int result = STATE_OK;
FILE *fp;
int line;
char input_buffer[MAX_INPUT_BUFFER];