]> git.proxmox.com Git - pve-access-control.git/commitdiff
pveum: list tfa: recovery keys have no descriptions
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Jun 2023 17:27:41 +0000 (19:27 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Jun 2023 17:43:49 +0000 (19:43 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/CLI/pveum.pm

index 62a17b0c1ef4e377a30780ea69dde6c3363c3a09..098b041fcac543f0b34590919facd2f30c543fe1 100755 (executable)
@@ -176,7 +176,7 @@ __PACKAGE__->register_method({
            my $nl = '';
            for my $entry (@$entries) {
                my ($id, $ty, $desc) = ($entry->@{qw/id type description/});
-               printf("${nl}${indent}%-9s %s\n${indent}    %s\n", "$ty:", $id, $desc);
+               printf("${nl}${indent}%-9s %s\n${indent}    %s\n", "$ty:", $id, $desc // '');
                $nl = "\n";
            }
        };