diff options
author | Dave Wysochanski <dwysocha@redhat.com> | 2009-07-27 21:02:35 +0000 |
---|---|---|
committer | Dave Wysochanski <dwysocha@redhat.com> | 2009-07-27 21:02:35 +0000 |
commit | b3417a320e516ecdd6dbd98622cd1e67c1319e65 (patch) | |
tree | 303faf1824048d3c1b44b86d4a91e64c51537c83 /liblvm | |
parent | dce56c9761f1fb98b03c2061c549c955596b76ac (diff) | |
download | lvm2-b3417a320e516ecdd6dbd98622cd1e67c1319e65.tar.gz lvm2-b3417a320e516ecdd6dbd98622cd1e67c1319e65.tar.xz lvm2-b3417a320e516ecdd6dbd98622cd1e67c1319e65.zip |
Update return code for lvm_config_reload.
Diffstat (limited to 'liblvm')
-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; } |