From: Dietmar Maurer Date: Thu, 9 Feb 2012 10:15:59 +0000 (+0100) Subject: fix syntax X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=commitdiff_plain;h=17ecec711f29ee5a4a872c21710329c425c650bf fix syntax --- diff --git a/PVE/RPCEnvironment.pm b/PVE/RPCEnvironment.pm index 8cafdd1..d14104a 100644 --- a/PVE/RPCEnvironment.pm +++ b/PVE/RPCEnvironment.pm @@ -282,7 +282,7 @@ sub check_vm_perm { return $self->check_full($user, "/vms/$vmid", $privs, $any, $noerr); }; -sub check_volume_access = sub { +sub check_volume_access { my ($self, $user, $storecfg, $vmid, $volid) = @_; # test if we have read access to volid