From: Thomas Lamprecht Date: Sat, 1 Jul 2023 15:16:27 +0000 (+0200) Subject: pvecm: updatecerts: only report quorum-wait progress if not silent X-Git-Url: https://git.proxmox.com/?p=pve-cluster.git;a=commitdiff_plain;h=f34d461403e605067188ae3aed8ecfaf4fed92fa pvecm: updatecerts: only report quorum-wait progress if not silent Signed-off-by: Thomas Lamprecht --- 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); }