mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-11 09:40:05 -04:00
Remove a few unnecessary trailing newlines from error messages (#2274)
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Spellcheck / codespell (push) Has been cancelled
Tests / Running unit and integrationt tests (push) Has been cancelled
Tests / Running rpm build test on almalinux:9 (push) Has been cancelled
Tests / Running rpm build test on fedora:latest (push) Has been cancelled
Tests / Running rpm build test on rockylinux:8 (push) Has been cancelled
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Spellcheck / codespell (push) Has been cancelled
Tests / Running unit and integrationt tests (push) Has been cancelled
Tests / Running rpm build test on almalinux:9 (push) Has been cancelled
Tests / Running rpm build test on fedora:latest (push) Has been cancelled
Tests / Running rpm build test on rockylinux:8 (push) Has been cancelled
Co-authored-by: Lorenz Kästle <lorenz.kaestle@netways.de>
This commit is contained in:
parent
9bbc764838
commit
47b1b2d754
1 changed files with 2 additions and 2 deletions
|
|
@ -46,9 +46,9 @@ void socket_timeout_alarm_handler(int sig) {
|
|||
timeout_sc = mp_set_subcheck_state(timeout_sc, socket_timeout_state);
|
||||
|
||||
if (sig == SIGALRM) {
|
||||
xasprintf(&timeout_sc.output, _("Socket timeout after %d seconds\n"), socket_timeout);
|
||||
xasprintf(&timeout_sc.output, _("Socket timeout after %d seconds"), socket_timeout);
|
||||
} else {
|
||||
xasprintf(&timeout_sc.output, _("Abnormal timeout after %d seconds\n"), socket_timeout);
|
||||
xasprintf(&timeout_sc.output, _("Abnormal timeout after %d seconds"), socket_timeout);
|
||||
}
|
||||
|
||||
mp_check overall = mp_check_init();
|
||||
|
|
|
|||
Loading…
Reference in a new issue