Need to escape a backslash
This commit is contained in:
parent
59a66af233
commit
041d5cd05d
|
@ -66,7 +66,7 @@ if ($phase eq 'job-start' ||
|
||||||
# no die cause if the previous backup exit on tarfile copy, the link might not exist
|
# no die cause if the previous backup exit on tarfile copy, the link might not exist
|
||||||
|
|
||||||
# Link last template file to a better name
|
# Link last template file to a better name
|
||||||
system ("find $TEMPLATE_DIR -iname 'vzdump-lxc-$vmid*.tar.*' -mmin -60 -exec ln -s {} $TEMPLATE_DIR/$TEMPLATE_FILE_LINK \;") == 0 ||
|
system ("find $TEMPLATE_DIR -iname 'vzdump-lxc-$vmid*.tar.*' -mmin -60 -exec ln -s {} $TEMPLATE_DIR/$TEMPLATE_FILE_LINK \\;") == 0 ||
|
||||||
die "link template to a better name failed";
|
die "link template to a better name failed";
|
||||||
|
|
||||||
# Ensure to remove template older than $RETENTION_TIME
|
# Ensure to remove template older than $RETENTION_TIME
|
||||||
|
|
|
@ -66,7 +66,7 @@ if ($phase eq 'job-start' ||
|
||||||
# no die cause if the previous backup exit on tarfile copy, the link might not exist
|
# no die cause if the previous backup exit on tarfile copy, the link might not exist
|
||||||
|
|
||||||
# Link last template file to a better name
|
# Link last template file to a better name
|
||||||
system ("find $TEMPLATE_DIR -iname 'vzdump-lxc-$vmid*.tar.*' -mmin -60 -exec ln -s {} $TEMPLATE_DIR/$TEMPLATE_FILE_LINK \;") == 0 ||
|
system ("find $TEMPLATE_DIR -iname 'vzdump-lxc-$vmid*.tar.*' -mmin -60 -exec ln -s {} $TEMPLATE_DIR/$TEMPLATE_FILE_LINK \\;") == 0 ||
|
||||||
die "link template to a better name failed";
|
die "link template to a better name failed";
|
||||||
|
|
||||||
# Ensure to remove template older than $RETENTION_TIME
|
# Ensure to remove template older than $RETENTION_TIME
|
||||||
|
|
Loading…
Reference in New Issue