]> arthur.barton.de Git - nagcollect.git/blobdiff - Makefile
Makefile: hide error message when no arch-specific tests exist
[nagcollect.git] / Makefile
index 317537488a20571a3816898bffde4effca5bb6d1..47bbf448eaeba0291978cc51bb6d093202c15396 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -85,7 +85,7 @@ client:
 
 plugins:
        mkdir -p client/lib/nagios/plugins
-       (cd client/lib/tests; (ls -1 *.tst; ls -1 `uname`/*.tst) | \
+       (cd client/lib/tests; (ls -1 *.tst; ls -1 `uname`/*.tst 2>/dev/null) | \
         while read x; do \
                name="check_nc_`basename "$$x" | cut -d'.' -f1 | tr '[A-Z]' '[a-z]'`"; \
                dest="../nagios/plugins/$$name"; \