From 3e4545bbac6ed642533ad20723c553df79788eca Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 3 May 2020 20:47:39 +0200 Subject: build-without-openssl.bash: suppress "not a dynamic executable" message We redirected the wrong ldd fd to /dev/null. Fix it. --- build-without-openssl.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build-without-openssl.bash') diff --git a/build-without-openssl.bash b/build-without-openssl.bash index f450caf..d5dc218 100755 --- a/build-without-openssl.bash +++ b/build-without-openssl.bash @@ -4,7 +4,7 @@ cd "$(dirname "$0")" CGO_ENABLED=0 source ./build.bash -tags without_openssl -if ldd gocryptfs > /dev/null ; then +if ldd gocryptfs 2> /dev/null ; then echo "build-without-openssl.bash: error: compiled binary is not static" exit 1 fi -- cgit v1.2.3