Signed-off-by: Oguz Bektas <o.bek...@proxmox.com> --- PVE/QemuServer.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index e9aa248..05b2f29 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -6290,11 +6290,11 @@ my $restore_cleanup_oldconf = sub { # Helper to parse vzdump backup device hints # -# $rpcenv: Environment, used to ckeck storage permissions +# $rpcenv: Environment, used to check storage permissions # $user: User ID, to check storage permissions # $storecfg: Storage configuration # $fh: the file handle for reading the configuration -# $devinfo: should contain device sizes for all backu-up'ed devices +# $devinfo: should contain device sizes for all backed up devices # $options: backup options (pool, default storage) # # Return: $virtdev_hash, updates $devinfo (add devname, virtdev, format, storeid) @@ -6306,7 +6306,7 @@ my $parse_backup_hints = sub { die "Content type 'images' is not available on storage '$storeid'\n" if !$scfg->{content}->{images}; $rpcenv->check($user, "/storage/$storeid", ['Datastore.AllocateSpace']) - if $user ne 'root@pam'; + if $user ne 'root@pam'; # shortcut for root@pam }; my $virtdev_hash = {}; -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel