build-without-openssl.bash: suppress "not a dynamic executable" message
We redirected the wrong ldd fd to /dev/null. Fix it.
This commit is contained in:
parent
feaeee90e2
commit
3e4545bbac
@ -4,7 +4,7 @@ cd "$(dirname "$0")"
|
|||||||
|
|
||||||
CGO_ENABLED=0 source ./build.bash -tags without_openssl
|
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"
|
echo "build-without-openssl.bash: error: compiled binary is not static"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user