diff options
-rw-r--r-- | liblvm/lvm_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/liblvm/lvm_base.c b/liblvm/lvm_base.c index 33d83953..5003b0aa 100644 --- a/liblvm/lvm_base.c +++ b/liblvm/lvm_base.c @@ -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; } |