File: 22_check_by_ssh_missing_options

package info (click to toggle)
monitoring-plugins 2.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 11,704 kB
  • sloc: ansic: 76,177; sh: 13,717; perl: 7,655; makefile: 489
file content (20 lines) | stat: -rw-r--r-- 821 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From 02adcbfa896eb726c59ca647eb4cf6909c690f37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lorenz=20K=C3=A4stle?=
 <12514511+RincewindsHat@users.noreply.github.com>
Date: Mon, 24 Feb 2025 20:32:19 +0100
Subject: [PATCH] check_by_ssh: Remove warning/critical from help

---
 plugins/check_by_ssh.c | 1 -
 1 file changed, 1 deletion(-)

--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
@@ -454,7 +454,6 @@
   printf ("    %s\n", _("Tell ssh to use this configfile [optional]"));
   printf (" %s\n","-q, --quiet");
   printf ("    %s\n", _("Tell ssh to suppress warning and diagnostic messages [optional]"));
-	printf (UT_WARN_CRIT);
 	printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
 	printf (" %s\n","-U, --unknown-timeout");
 	printf ("    %s\n", _("Make connection problems return UNKNOWN instead of CRITICAL"));