From b3417a320e516ecdd6dbd98622cd1e67c1319e65 Mon Sep 17 00:00:00 2001 From: Dave Wysochanski Date: Mon, 27 Jul 2009 21:02:35 +0000 Subject: Update return code for lvm_config_reload. --- liblvm/lvm_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'liblvm') 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; } -- cgit