diff --git a/openssl-pkcs11.spec b/openssl-pkcs11.spec index 64b34ad..9506786 100644 --- a/openssl-pkcs11.spec +++ b/openssl-pkcs11.spec @@ -89,7 +89,7 @@ rm -f %{buildroot}%{_includedir}/*.h rm -rf %{buildroot}%{_docdir}/libp11/ %check -make check %{?_smp_mflags}; if [ $? -ne 0 ]; then cat tests/*.log; fi; +make check %{?_smp_mflags} || if [ $? -ne 0 ]; then cat tests/*.log; exit 1; fi; %ldconfig_scriptlets