1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-27 18:04:20 +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 b2380fcc48
commit 05762487ff

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;
}