[dev-libs/mongo-c-driver] only kill mongod if its started

This commit is contained in:
Robert Förster 2024-07-16 09:10:17 +02:00
parent bf6335f804
commit 3201c0b3f4

View File

@ -105,7 +105,10 @@ src_test() {
fi fi
../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc || die ../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc || die
kill $(<"${T}/mongod.lock") if use test-full; then
kill $(<"${T}/mongod.lock")
fi
} }
src_install() { src_install() {