<p>this fixes a stupid FTBFS with mawk which thinks our file contains regex:</p>
<pre><code>NP_VERSION=1.5.110.g2d494 mawk -f ./subst check_mailq.pl > check_mailq
mawk: run time error: regular expression compile failed (missing operand)
/var/lib/postfix' || -d '/var/local/lib/postfix
FILENAME="check_mailq.pl" FNR=614 NR=614
make[2]: *** [check_mailq] Error 2
</code></pre>
<hr>
<h4>You can merge this Pull Request by running</h4>
<pre> git pull https://github.com/evgeni/monitoring-plugins stupid-mawk</pre>
<p>Or view, comment on, or merge it at:</p>
<p> <a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1243'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1243</a></p>
<h4>Commit Summary</h4>
<ul>
<li>use 'or' instead of '||' as operator</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1243/files#diff-0">plugins-scripts/check_mailq.pl</a>
(14)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1243.patch'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1243.patch</a></li>
<li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1243.diff'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1243.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/1243'>Reply to this email on GitHub</a>.<img src='https://github.com/notifications/beacon/5514713__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwOTA2NjY4MywiZGF0YSI6eyJpZCI6MjY2Mjc0NDV9fQ==--f747a5a989fe28d20af7ba9891461a47bea4604b.gif' height='1' width='1'></p>