diff --git a/src/tests/ras/utils/inject_manager/inject_manager.cc b/src/tests/ras/utils/inject_manager/inject_manager.cc index b5baf65..69f0f63 100644 --- a/src/tests/ras/utils/inject_manager/inject_manager.cc +++ b/src/tests/ras/utils/inject_manager/inject_manager.cc @@ -80,8 +80,12 @@ int InjectManager::Inject( const std::vector &us_namespaces) const { for (const auto &dn : us_namespaces) { for (const auto &d : GetDimmsToInject(dn)) { - if (d.InjectUnsafeShutdown() != 0) { + int ret = 0; + ret = d.InjectUnsafeShutdown(); + if (ret != 0) { return -1; + } else { + std::cout << "Inject: " << ret << std::endl; } } }