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:
parent
dce56c9761
commit
b3417a320e
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user