Signed-off-by: Fiona Ebner <f.eb...@proxmox.com> --- src/PVE/API2/Qemu/HMPPerms.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/API2/Qemu/HMPPerms.pm b/src/PVE/API2/Qemu/HMPPerms.pm index f6b32891..68213016 100644 --- a/src/PVE/API2/Qemu/HMPPerms.pm +++ b/src/PVE/API2/Qemu/HMPPerms.pm @@ -185,7 +185,7 @@ our $hmp_command_perms = { sub generate_description { my $cmd_by_priv = {}; for my $cmd (sort keys $hmp_command_perms->%*) { - push $cmd_by_priv->{$hmp_command_perms->{$cmd}}->@*, $cmd; + push $cmd_by_priv->{ $hmp_command_perms->{$cmd} }->@*, $cmd; } my $none_cmds = delete($cmd_by_priv->{none}) or die "internal error - no commands for 'none' found"; -- 2.47.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel