use 'or' instead of '||' as operator (#1243)
Evgeni Golov
notifications at github.com
Thu Feb 27 21:44:43 CET 2014
this fixes a stupid FTBFS with mawk which thinks our file contains regex:
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
You can merge this Pull Request by running:
git pull https://github.com/evgeni/monitoring-plugins stupid-mawk
Or you can view, comment on it, or merge it online at:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1243
-- Commit Summary --
* use 'or' instead of '||' as operator
-- File Changes --
M plugins-scripts/check_mailq.pl (14)
-- Patch Links --
https://github.com/monitoring-plugins/monitoring-plugins/pull/1243.patch
https://github.com/monitoring-plugins/monitoring-plugins/pull/1243.diff
--
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1243
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20140227/f28375b3/attachment.html>
More information about the Devel
mailing list