Skip to content

Commit 3e4545b

Browse files
committed
build-without-openssl.bash: suppress "not a dynamic executable" message
We redirected the wrong ldd fd to /dev/null. Fix it.
1 parent feaeee9 commit 3e4545b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-without-openssl.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cd "$(dirname "$0")"
44

55
CGO_ENABLED=0 source ./build.bash -tags without_openssl
66

7-
if ldd gocryptfs > /dev/null ; then
7+
if ldd gocryptfs 2> /dev/null ; then
88
echo "build-without-openssl.bash: error: compiled binary is not static"
99
exit 1
1010
fi

0 commit comments

Comments
 (0)