diff options
author | Robin Hack <rhack@redhat.com> | 2013-09-18 14:49:45 +0200 |
---|---|---|
committer | Robin Hack <rhack@redhat.com> | 2013-09-18 14:49:45 +0200 |
commit | 2746832524f5e5d022b13ffa0890f895ab82355c (patch) | |
tree | b8d0cb865d99b85de8cb7659c0c1366bbe350e80 | |
parent | d48cd26973b946183fbd8ead3e86f7dc50303d67 (diff) | |
download | openlmi-providers-2746832524f5e5d022b13ffa0890f895ab82355c.tar.gz openlmi-providers-2746832524f5e5d022b13ffa0890f895ab82355c.tar.xz openlmi-providers-2746832524f5e5d022b13ffa0890f895ab82355c.zip |
Account: Better failure check of lock pool initialization.
-rw-r--r-- | src/account/LMI_AccountProvider.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } } |