From 8769ab3e901165e955256c5ac01c3681fccf3679 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Mon, 21 Nov 2011 11:59:26 +0100 Subject: [PATCH] Makefile: hide error message when no arch-specific tests exist --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3175374..47bbf44 100644 --- 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"; \ -- 2.39.2