Exit on stderr (#1299)
nafets <[email protected]>
| Newsgroups | gmane.network.nagios.devel |
|---|---|
| Message-ID | <monitoring-plugins/monitoring-plugins/pull/[email protected]> |
We need the option to bail out with an error, if there is something on
stdout.
E.g. someone is defining:
```
stty erase ^H
```
without any checks in the users profile (.bashrc or .profile)
Sorry for the GIT hussle
You can merge this Pull Request by running:
git pull https://github.com/nafets/monitoring-plugins exit_on_stderr
Or you can view, comment on it, or merge it online at:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1299
-- Commit Summary --
* added option to exit with an warning, if there is output on STDERR
* avoid segfault, if ulimit is not set
* Revert "avoid segfault, if ulimit is not set", should be done in a
branch
-- File Changes --
M plugins/check_by_ssh.c (14)
-- Patch Links --
https://github.com/monitoring-plugins/monitoring-plugins/pull/1299.patch
https://github.com/monitoring-plugins/monitoring-plugins/pull/1299.diff
--
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1299