From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/266362-check_ssh-clean-shutdown.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 web/attachments/266362-check_ssh-clean-shutdown.patch (limited to 'web/attachments/266362-check_ssh-clean-shutdown.patch') diff --git a/web/attachments/266362-check_ssh-clean-shutdown.patch b/web/attachments/266362-check_ssh-clean-shutdown.patch new file mode 100644 index 0000000..c035101 --- /dev/null +++ b/web/attachments/266362-check_ssh-clean-shutdown.patch @@ -0,0 +1,12 @@ +*** check_ssh.c 2008-02-14 12:19:32.000000000 -0800 +--- check_cch.c 2007-11-09 05:08:43.000000000 -0800 +*************** +*** 260,266 **** + printf + (_("SSH OK - %s (protocol %s)\n"), + ssh_server, ssh_proto); +- shutdown(sd, SHUT_RDWR); + close(sd); + exit (STATE_OK); + } +--- 260,265 ---- -- cgit v1.2.3-74-g34f1