diff --git a/restore.sh b/restore.sh index 8611595..948b9ff 100755 --- a/restore.sh +++ b/restore.sh @@ -32,7 +32,7 @@ function clean_exit() { losetup -d ${loopdisk} fi sleep 3 - rm -r /mnt/${vm}* + rmdir /mnt/${vm}* }