diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-09-15 02:08:46 +0200 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-09-15 02:08:46 +0200 |
| commit | 43c6332322f47285576218429be6a41c03912b57 (patch) | |
| tree | 0b18b67a630a4e0a145dce6223f652114fff76c3 /plugins | |
| parent | c892db9ae16183fdda9c96b3d4b93c58355b34ac (diff) | |
| download | monitoring-plugins-43c6332322f47285576218429be6a41c03912b57.tar.gz | |
Fix typo in error message
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/check_curl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c index b1021045..6d50568f 100644 --- a/plugins/check_curl.c +++ b/plugins/check_curl.c | |||
| @@ -230,7 +230,7 @@ mp_subcheck check_http(const check_curl_config config, check_curl_working_state | |||
| 230 | 230 | ||
| 231 | /* Curl errors, result in critical Nagios state */ | 231 | /* Curl errors, result in critical Nagios state */ |
| 232 | if (res != CURLE_OK) { | 232 | if (res != CURLE_OK) { |
| 233 | xasprintf(&sc_curl.output, _("Error while performing connectiion: cURL returned %d - %s"), | 233 | xasprintf(&sc_curl.output, _("Error while performing connection: cURL returned %d - %s"), |
| 234 | res, errbuf[0] ? errbuf : curl_easy_strerror(res)); | 234 | res, errbuf[0] ? errbuf : curl_easy_strerror(res)); |
| 235 | sc_curl = mp_set_subcheck_state(sc_curl, STATE_CRITICAL); | 235 | sc_curl = mp_set_subcheck_state(sc_curl, STATE_CRITICAL); |
| 236 | mp_add_subcheck_to_subcheck(&sc_result, sc_curl); | 236 | mp_add_subcheck_to_subcheck(&sc_result, sc_curl); |
