From 17ecec711f29ee5a4a872c21710329c425c650bf Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 9 Feb 2012 11:15:59 +0100 Subject: [PATCH] fix syntax --- PVE/RPCEnvironment.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2