... | ... |
@@ -717,7 +717,7 @@ function create_disk { |
717 | 717 |
# Create a loopback disk and format it to XFS. |
718 | 718 |
if [[ -e ${disk_image} ]]; then |
719 | 719 |
if egrep -q ${storage_data_dir} /proc/mounts; then |
720 |
- sudo umount ${storage_data_dir}/drives/sdb1 |
|
720 |
+ sudo umount ${storage_data_dir} |
|
721 | 721 |
sudo rm -f ${disk_image} |
722 | 722 |
fi |
723 | 723 |
fi |