]> git.proxmox.com Git - pve-cluster.git/commitdiff
pvecm: updatecerts: only report quorum-wait progress if not silent
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 1 Jul 2023 15:16:27 +0000 (17:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 1 Jul 2023 17:29:38 +0000 (19:29 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/CLI/pvecm.pm

index e995e80f2ec304c612185bee912aa6d32c590f37..855e074410784ce2c0d1135e9fd2d7112e0baca1 100755 (executable)
@@ -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);
            }