From f34d461403e605067188ae3aed8ecfaf4fed92fa Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 1 Jul 2023 17:16:27 +0200 Subject: [PATCH] pvecm: updatecerts: only report quorum-wait progress if not silent Signed-off-by: Thomas Lamprecht --- src/PVE/CLI/pvecm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/CLI/pvecm.pm b/src/PVE/CLI/pvecm.pm index e995e80..855e074 100755 --- a/src/PVE/CLI/pvecm.pm +++ b/src/PVE/CLI/pvecm.pm @@ -581,7 +581,7 @@ __PACKAGE__->register_method ({ PVE::Cluster::Setup::generate_local_files(); for (my $i = 0; !PVE::Cluster::check_cfs_quorum(1); $i++) { - print "waiting for pmxcfs mount to appear and get quorate...\n" if $i % 50 == 0; + print "waiting for pmxcfs mount to appear and get quorate...\n" if !$silent && $i % 50 == 0; usleep(100 * 1000); } -- 2.39.2