]> git.proxmox.com Git - pve-manager.git/commitdiff
vzdump: fix unknown variable name error, add newline
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 4 May 2022 06:19:35 +0000 (08:19 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 4 May 2022 06:19:35 +0000 (08:19 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/VZDump.pm

index 05cc1becd0066e0ac5e507ece9075d068b91fd81..edcab6966f1a920a6589a3f8f044c2c57717e933 100644 (file)
@@ -92,7 +92,7 @@ my $generate_notes = sub {
     my $vars = join('|', keys $info->%*);
     $notes_template =~ s/\{\{($vars)\}\}/$info->{$1}/g;
 
-    die "unexpected variable name '$1'" if $notes_template =~ m/\{\{([^\s}]+)\}\}/;
+    die "unexpected variable name '$1'\n" if $notes_template =~ m/\{\{([^\s}]+)\}\}/;
 
     return $notes_template;
 };