From 75fed05d3ef648583764ff56cc577e0f3eba1bba Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 11 Jun 2018 22:18:00 +0200 Subject: [PATCH] vgchange: start polling with option Polling start either with '--refresh' or with '--poll' option specified. --- tools/vgchange.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/vgchange.c b/tools/vgchange.c index b07057f99..b427a81bd 100644 --- a/tools/vgchange.c +++ b/tools/vgchange.c @@ -662,6 +662,7 @@ static int _vgchange_single(struct cmd_context *cmd, const char *vg_name, } if (!arg_is_set(cmd, refresh_ARG) && + arg_is_set(cmd, poll_ARG) && !vgchange_background_polling(cmd, vg)) return_ECMD_FAILED; -- 2.43.5