diff options
-rw-r--r-- | tools/polldaemon.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/polldaemon.c b/tools/polldaemon.c index 71d6b3e9b..c2211d734 100644 --- a/tools/polldaemon.c +++ b/tools/polldaemon.c @@ -596,6 +596,11 @@ static int _poll_daemon(struct cmd_context *cmd, struct poll_operation_id *id, parms->progress_display = 0; /* Child */ /* FIXME Use wait_event (i.e. interval = 0) and */ /* fork one daemon per copy? */ + + if (daemon_mode == 1) { + if (!lvmetad_connect(cmd)) + log_warn("WARNING: lvm polling process %d cannot connect to lvmetad.", getpid()); + } } /* |