]> git.proxmox.com Git - qemu-server.git/commitdiff
fix typo
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 6 Feb 2012 11:52:29 +0000 (12:52 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 6 Feb 2012 11:52:29 +0000 (12:52 +0100)
PVE/API2/Qemu.pm

index 2a864132ae0868ab902ca620a453ccec6eea6747..70bdd296865d44f9496017f383bfd4bccf80f911 100644 (file)
@@ -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']);