fix deleting qcow2 images (#123)

following this forum thread

https://forum.opennebula.org/t/opennebula-5-0-2-attach-detach-images-datastore-folder-not-cleaned-up/3111
This commit is contained in:
Anton Todorov authored and Ruben S. Montero committed 2016-10-11 15:41:01 +02:00
1 parent 28f97fd224
commit 2b2f4e40a6
1 file changed
+1 -1
+1 -1
View File
@@ -48,7 +48,7 @@ delete_file=$(cat <<EOF
[ -e "$DST_PATH" ] || exit 0
times=10
function="rm -rf $DST_PATH"
function="rm -rf $DST_PATH{,.snap}"
count=1