Fix the test if statement

This commit is contained in:
Ben Kelly 2022-08-05 06:48:53 +01:00 committed by GitHub
parent 2bc2b17560
commit e9a27ca6f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ stdenv.mkDerivation rec {
./signal-protocol-vala-test
TEST2=$?
set +x
if [ $TEST1 != 0 ] && [ $TEST2 != 0 ]; then
if [ $TEST1 != 0 ] || [ $TEST2 != 0 ]; then
echo "tests failed"
exit 1;
else