summaryrefslogtreecommitdiffstats
path: root/plugins/check_mrtg.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2008-12-03 13:00:05 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2008-12-03 13:00:05 (GMT)
commitf8b606b728f7ffd3333f93a21ee4bacaea00e7b3 (patch)
treed319e717a4c0144267dd71bd31e8c9fe8ea6d1e9 /plugins/check_mrtg.c
parentd2f56c4e8609ea8281e22ad62fbaa208965d32d2 (diff)
downloadmonitoring-plugins-f8b606b728f7ffd3333f93a21ee4bacaea00e7b3.tar.gz
check_mrtg: fix plugin returning UNKNOWN instead of OK (bug #2378068)
Diffstat (limited to 'plugins/check_mrtg.c')
-rw-r--r--plugins/check_mrtg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c
index 550326b..65260ed 100644
--- a/plugins/check_mrtg.c
+++ b/plugins/check_mrtg.c
@@ -53,7 +53,7 @@ char *units;
53int 53int
54main (int argc, char **argv) 54main (int argc, char **argv)
55{ 55{
56 int result = STATE_UNKNOWN; 56 int result = STATE_OK;
57 FILE *fp; 57 FILE *fp;
58 int line; 58 int line;
59 char input_buffer[MAX_INPUT_BUFFER]; 59 char input_buffer[MAX_INPUT_BUFFER];