diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
commit | 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch) | |
tree | 1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/266362-check_ssh-clean-shutdown.patch | |
download | site-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz |
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts,
and configuration files.
Diffstat (limited to 'web/attachments/266362-check_ssh-clean-shutdown.patch')
-rw-r--r-- | web/attachments/266362-check_ssh-clean-shutdown.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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 @@ | |||
1 | *** check_ssh.c 2008-02-14 12:19:32.000000000 -0800 | ||
2 | --- check_cch.c 2007-11-09 05:08:43.000000000 -0800 | ||
3 | *************** | ||
4 | *** 260,266 **** | ||
5 | printf | ||
6 | (_("SSH OK - %s (protocol %s)\n"), | ||
7 | ssh_server, ssh_proto); | ||
8 | - shutdown(sd, SHUT_RDWR); | ||
9 | close(sd); | ||
10 | exit (STATE_OK); | ||
11 | } | ||
12 | --- 260,265 ---- | ||