diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2008-12-03 08:00:05 -0500 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2008-12-03 08:00:05 -0500 |
commit | f8b606b728f7ffd3333f93a21ee4bacaea00e7b3 (patch) | |
tree | d319e717a4c0144267dd71bd31e8c9fe8ea6d1e9 /plugins | |
parent | d2f56c4e8609ea8281e22ad62fbaa208965d32d2 (diff) | |
download | monitoring-plugins-f8b606b728f7ffd3333f93a21ee4bacaea00e7b3.tar.gz |
check_mrtg: fix plugin returning UNKNOWN instead of OK (bug #2378068)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_mrtg.c | 2 |
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; | |||
53 | int | 53 | int |
54 | main (int argc, char **argv) | 54 | main (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]; |