summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2020-05-03 20:47:39 +0200
committerJakob Unterwurzacher2020-05-03 20:47:39 +0200
commit3e4545bbac6ed642533ad20723c553df79788eca (patch)
tree0ae333275fd655a82f41ecba24aa6f514628ea17
parentfeaeee90e271b0c0f5747f856df2b622447505cc (diff)
build-without-openssl.bash: suppress "not a dynamic executable" message
We redirected the wrong ldd fd to /dev/null. Fix it.
-rwxr-xr-xbuild-without-openssl.bash2
1 files changed, 1 insertions, 1 deletions
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