diff options
Diffstat (limited to 'lib/format_text/import.c')
-rw-r--r-- | lib/format_text/import.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/format_text/import.c b/lib/format_text/import.c index 69af925bc..0138ddd8b 100644 --- a/lib/format_text/import.c +++ b/lib/format_text/import.c @@ -78,8 +78,8 @@ static void _import_vgsummary(int failed, unsigned ioflags, void *context, const out: config_destroy(ivsp->cft); - if (ivsp->ret && ivsp->process_vgsummary_fn) - ivsp->process_vgsummary_fn(0, ioflags, ivsp->process_vgsummary_context, NULL); + if (ivsp->process_vgsummary_fn) + ivsp->process_vgsummary_fn(!ivsp->ret, ioflags, ivsp->process_vgsummary_context, NULL); } /* |