Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed copy&paste typo

  • Loading branch information...
commit b6b21b6efc32fdc51956229886979524fd3d8477 1 parent ea57fe1
Mark Round authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  snapback-xva.sh
View
2  snapback-xva.sh
@@ -270,7 +270,7 @@ for VM in $RUNNING_VMS; do
# Sort -n, head -n -$RETAIN
# Loop through and remove each one
echo "= Removing old XVA files ="
- ls -1 /var/run/sr-mount/$XVA_SR/*.xva | grep "$VM_NAME-$BACKUP_SUFFIX" | sort -n | head -n-$RETAIN > $TEMP
+ ls -1 /var/run/sr-mount/$XVA_SR/*.xva | grep "$VM_NAME-$BACKUP_SUFFIX" | sort -n | head -n-$XVA_RETAIN > $TEMP
while read OLD_TEMPLATE; do
echo "Removing : $OLD_TEMPLATE"
rm $OLD_TEMPLATE
Please sign in to comment.
Something went wrong with that request. Please try again.