diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_ntp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c index 38562ac9..164d5190 100644 --- a/plugins/check_ntp.c +++ b/plugins/check_ntp.c | |||
@@ -772,7 +772,7 @@ int main(int argc, char *argv[]){ | |||
772 | alarm (socket_timeout); | 772 | alarm (socket_timeout); |
773 | 773 | ||
774 | offset = offset_request(server_address, &offset_result); | 774 | offset = offset_request(server_address, &offset_result); |
775 | /* check_ntp used to always return if offset_result == STATE_UNKNOWN. | 775 | /* check_ntp used to always return CRITICAL if offset_result == STATE_UNKNOWN. |
776 | * Now we'll only do that is the offset thresholds were set */ | 776 | * Now we'll only do that is the offset thresholds were set */ |
777 | if (do_offset && offset_result == STATE_UNKNOWN) { | 777 | if (do_offset && offset_result == STATE_UNKNOWN) { |
778 | result = STATE_CRITICAL; | 778 | result = STATE_CRITICAL; |