From 6e5c4da7ef8d6a9479c12f3d01a1804296d276cd Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 7 Feb 2012 10:44:43 +0100 Subject: [PATCH] fix typo --- PVE/API2/Qemu.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 70bdd296..9402ad38 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -111,7 +111,7 @@ my $create_disks = sub { my $check_vm_modify_config_perm = sub { my ($rpcenv, $authuser, $vmid, $pool, $key_list) = @_; - return 1 if $authuser ne 'root@pam'; + return 1 if $authuser eq 'root@pam'; foreach my $opt (@$key_list) { # disk checks need to be done somewhere else