1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-24 17:57:48 +03:00

Update return code for lvm_config_reload.

This commit is contained in:
Dave Wysochanski 2009-07-27 21:02:35 +00:00
parent dce56c9761
commit b3417a320e

View File

@ -67,7 +67,7 @@ void lvm_destroy(lvm_t libh)
int lvm_config_reload(lvm_t libh)
{
/* FIXME: re-init locking needed here? */
if (refresh_toolcontext((struct cmd_context *)libh))
if (!refresh_toolcontext((struct cmd_context *)libh))
return -1;
return 0;
}