From c200d9fd700c9fe563545661d8e7bea1bb5ffa6c Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 21 Jun 2023 19:27:41 +0200 Subject: [PATCH] pveum: list tfa: recovery keys have no descriptions Signed-off-by: Thomas Lamprecht --- src/PVE/CLI/pveum.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/CLI/pveum.pm b/src/PVE/CLI/pveum.pm index 62a17b0..098b041 100755 --- a/src/PVE/CLI/pveum.pm +++ b/src/PVE/CLI/pveum.pm @@ -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"; } }; -- 2.39.2