<p>We need the option to bail out with an error, if there is something on stdout.<br>
E.g. someone is defining: </p>
<pre><code>stty erase ^H
</code></pre>
<p>without any checks in the users profile (.bashrc or .profile)</p>
<hr>
<h4>You can merge this Pull Request by running</h4>
<pre> git pull https://github.com/nafets/monitoring-plugins master</pre>
<p>Or view, comment on, or merge it at:</p>
<p> <a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1297'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1297</a></p>
<h4>Commit Summary</h4>
<ul>
<li>added option to exit with an warning, if there is output on STDERR</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1297/files#diff-0">plugins/check_by_ssh.c</a>
(14)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1297.patch'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1297.patch</a></li>
<li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1297.diff'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1297.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br><a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1297">Reply to this email on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFQl2R0FdTvT1TPJU6obMxQmCQaOk4c8ks5nOmlpgaJpZM4C8xOy.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1297"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>