From 0782c03469f5ee66cd07e55add885ff18072bd1f Mon Sep 17 00:00:00 2001 From: Fabian Ebner Date: Wed, 30 Mar 2022 12:24:34 +0200 Subject: [PATCH] pveam: remove: add content type check Signed-off-by: Fabian Ebner --- PVE/CLI/pveam.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/CLI/pveam.pm b/PVE/CLI/pveam.pm index 6c26f209..67a912bd 100644 --- a/PVE/CLI/pveam.pm +++ b/PVE/CLI/pveam.pm @@ -170,7 +170,7 @@ __PACKAGE__->register_method ({ my $cfg = PVE::Storage::config(); - PVE::Storage::check_volume_access($rpcenv, $authuser, $cfg, undef, $template); + PVE::Storage::check_volume_access($rpcenv, $authuser, $cfg, undef, $template, 'vztmpl'); my $abs_path = PVE::Storage::abs_filesystem_path($cfg, $template);