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:
parent
b2380fcc48
commit
05762487ff
@ -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