mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-22 15:08:55 -04:00
Remove a few unnecessary trailing newlines from error messages
This commit is contained in:
parent
9bbc764838
commit
e85fa51c14
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