summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-06-08 13:19:31 +0200
committerGitHub <noreply@github.com>2026-06-08 13:19:31 +0200
commit47b1b2d754d4809006f6dc1aa13ba9c80405975c (patch)
treed171bf37665121e071e02682f56e5cfa5b6c6dea /plugins
parent9bbc76483888c9e2ef2f4ed281c0ab8f2aab7bb6 (diff)
downloadmonitoring-plugins-47b1b2d754d4809006f6dc1aa13ba9c80405975c.tar.gz
Remove a few unnecessary trailing newlines from error messages (#2274)HEADmaster
Co-authored-by: Lorenz Kästle <lorenz.kaestle@netways.de>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/netutils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/netutils.c b/plugins/netutils.c
index f9933ebd..29b31366 100644
--- a/plugins/netutils.c
+++ b/plugins/netutils.c
@@ -46,9 +46,9 @@ void socket_timeout_alarm_handler(int sig) {
46 timeout_sc = mp_set_subcheck_state(timeout_sc, socket_timeout_state); 46 timeout_sc = mp_set_subcheck_state(timeout_sc, socket_timeout_state);
47 47
48 if (sig == SIGALRM) { 48 if (sig == SIGALRM) {
49 xasprintf(&timeout_sc.output, _("Socket timeout after %d seconds\n"), socket_timeout); 49 xasprintf(&timeout_sc.output, _("Socket timeout after %d seconds"), socket_timeout);
50 } else { 50 } else {
51 xasprintf(&timeout_sc.output, _("Abnormal timeout after %d seconds\n"), socket_timeout); 51 xasprintf(&timeout_sc.output, _("Abnormal timeout after %d seconds"), socket_timeout);
52 } 52 }
53 53
54 mp_check overall = mp_check_init(); 54 mp_check overall = mp_check_init();