Hopefully fix REMOVE_BACKUP_VOLUME_AFTER_UPLOAD
This commit is contained in:
parent
87d584e4e8
commit
451c511554
|
@ -134,6 +134,6 @@ if [[ \ $*\ != *\ --skip-upload\ * ]]; then
|
||||||
|
|
||||||
if [ "$REMOVE_BACKUP_VOLUME_AFTER_UPLOAD" -eq 1 ]; then
|
if [ "$REMOVE_BACKUP_VOLUME_AFTER_UPLOAD" -eq 1 ]; then
|
||||||
echo "Cleaning up ${backup_path}"
|
echo "Cleaning up ${backup_path}"
|
||||||
rm -rf "${backup_path}"
|
rm -rf "${backup_path:?}"/*
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue