aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_mrtg.c
diff options
context:
space:
mode:
authorGravatar Thomas Guyot-Sionnest <dermoth@aei.ca> 2008-12-03 08:00:05 -0500
committerGravatar Thomas Guyot-Sionnest <dermoth@aei.ca> 2008-12-03 08:00:05 -0500
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 550326b1..65260ed1 100644
--- a/plugins/check_mrtg.c
+++ b/plugins/check_mrtg.c
@@ -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];