From: Dietmar Maurer Date: Mon, 6 Feb 2012 11:52:29 +0000 (+0100) Subject: fix typo X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=ab6b35dfdf91469587aabd3fecbe7c6adeaaf29a;p=qemu-server.git fix typo --- diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 2a86413..70bdd29 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -119,7 +119,7 @@ my $check_vm_modify_config_perm = sub { if ($opt eq 'sockets' || $opt eq 'cores' || $opt eq 'cpu' || $opt eq 'smp' || - $opt eq 'cpuimit' || $opt eq 'cpuunits') { + $opt eq 'cpulimit' || $opt eq 'cpuunits') { $rpcenv->check_vm_perm($authuser, $vmid, $pool, ['VM.Config.CPU']); } elsif ($opt eq 'boot' || $opt eq 'bootdisk') { $rpcenv->check_vm_perm($authuser, $vmid, $pool, ['VM.Config.Disk']);