From: Nick Porter Date: Thu, 17 Jun 2021 10:28:35 +0000 (+0100) Subject: Don't print errors when hostinfo not present X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8a63fa0087b3b3f3c7e4253154f074b457d0c4f;p=thirdparty%2Ffreeradius-server.git Don't print errors when hostinfo not present --- diff --git a/Makefile b/Makefile index 484c17df2e2..dfec7e81abd 100644 --- a/Makefile +++ b/Makefile @@ -114,7 +114,7 @@ ifeq "$(findstring libfreeradius-make,$(MAKECMDGOALS))" "" _:=$(shell $(MAKE) libfreeradius-make-dlopen.a libfreeradius-make-version.a) ifeq "${LIBRARY_EXT}" "" -ifneq "$(findstring Darwin,$(shell hostinfo))" "" +ifneq "$(findstring Darwin,$(shell hostinfo 2>/dev/null))" "" LIBRARY_EXT := dylib else LIBRARY_EXT := so