]> git.proxmox.com Git - pve-access-control.git/blobdiff - PVE/RPCEnvironment.pm
fix syntax
[pve-access-control.git] / PVE / RPCEnvironment.pm
index 8cafdd182978c706b878869e724d2bc69052cbc2..d14104a7cacfb4624d77e6555871b7276a94147e 100644 (file)
@@ -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