]> arthur.barton.de Git - nagcollect.git/commitdiff
Makefile: hide error message when no arch-specific tests exist
authorAlexander Barton <alex@barton.de>
Mon, 21 Nov 2011 10:59:26 +0000 (11:59 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 21 Nov 2011 10:59:26 +0000 (11:59 +0100)
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"; \