author | Holger Weiss <hweiss@users.sourceforge.net> | |
Wed, 18 Apr 2007 19:31:29 +0000 (19:31 +0000) | ||
committer | Holger Weiss <hweiss@users.sourceforge.net> | |
Wed, 18 Apr 2007 19:31:29 +0000 (19:31 +0000) | ||
commit | 4e83bc016cd399a123fe6cf68e21b72c2b65ad78 | |
tree | 890b1f4388fb671ed06b9f80b731b8f5595afaed | tree | snapshot |
parent | 9524f9e6251bb906df3cc0174c5e92a9842ab062 | commit | diff |
Revert my previous change to "-S/--skip" in favour of the two options
"-E/--skip-stderr" and "-S/--skip-stdout". Both of them support
omitting the number of lines to skip, in which case all output on the
respective file descriptor is skipped. "--skip" is kept as an alias for
"--skip-stdout" for backwards compatibility with recent releases.
Also, print a message if no (non-skipped) stdout/stderr output is
available. This fixes a segfault if the remote command prints no
output.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1692 f882894a-f735-0410-b71e-b25c423dba1c
"-E/--skip-stderr" and "-S/--skip-stdout". Both of them support
omitting the number of lines to skip, in which case all output on the
respective file descriptor is skipped. "--skip" is kept as an alias for
"--skip-stdout" for backwards compatibility with recent releases.
Also, print a message if no (non-skipped) stdout/stderr output is
available. This fixes a segfault if the remote command prints no
output.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1692 f882894a-f735-0410-b71e-b25c423dba1c
NEWS | diff | blob | history | |
plugins/check_by_ssh.c | diff | blob | history |