diff --git a/proxmox/vzdump-hook-lxc-jessie-template.pl b/proxmox/vzdump-hook-lxc-jessie-template.pl index 5bdf462..b1d4d5f 100755 --- a/proxmox/vzdump-hook-lxc-jessie-template.pl +++ b/proxmox/vzdump-hook-lxc-jessie-template.pl @@ -62,7 +62,7 @@ if ($phase eq 'job-start' || die "copy tar file as a template failed"; # Unlink (eg hostname=jessietpl.ipr.univ-rennes1.fr) - system ("unlink $TEMPLATE_DIR/$TEMPLATE_FILE_LINK") + system ("unlink $TEMPLATE_DIR/$TEMPLATE_FILE_LINK"); # no die cause if the previous backup exit on tarfile copy, the link might not exist # Link last template file to a better name diff --git a/proxmox/vzdump-hook-lxc-stretch-template.pl b/proxmox/vzdump-hook-lxc-stretch-template.pl index a2b2818..931790e 100755 --- a/proxmox/vzdump-hook-lxc-stretch-template.pl +++ b/proxmox/vzdump-hook-lxc-stretch-template.pl @@ -62,7 +62,7 @@ if ($phase eq 'job-start' || die "copy tar file as a template failed"; # Unlink (eg hostname=stretchtpl.ipr.univ-rennes1.fr) - system ("unlink $TEMPLATE_DIR/$TEMPLATE_FILE_LINK") + system ("unlink $TEMPLATE_DIR/$TEMPLATE_FILE_LINK"); # no die cause if the previous backup exit on tarfile copy, the link might not exist # Link last template file to a better name