From 2746832524f5e5d022b13ffa0890f895ab82355c Mon Sep 17 00:00:00 2001 From: Robin Hack Date: Wed, 18 Sep 2013 14:49:45 +0200 Subject: Account: Better failure check of lock pool initialization. --- src/account/LMI_AccountProvider.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/account/LMI_AccountProvider.c b/src/account/LMI_AccountProvider.c index 5805f5e..7601f41 100644 --- a/src/account/LMI_AccountProvider.c +++ b/src/account/LMI_AccountProvider.c @@ -57,7 +57,8 @@ static const CMPIBroker* _cb = NULL; static void LMI_AccountInitialize() { if (init_lock_pool() == 0) { - CMReturn(CMPI_RC_ERR_FAILED); + error("Unable to initialize lock pool."); + exit (1); } } -- cgit