summaryrefslogtreecommitdiff
path: root/src/parted-usb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/parted-usb.sh')
-rwxr-xr-xsrc/parted-usb.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/parted-usb.sh b/src/parted-usb.sh
index 0eafe86..fca8988 100755
--- a/src/parted-usb.sh
+++ b/src/parted-usb.sh
@@ -212,7 +212,14 @@ add_grub_cfg()
212individualize() 212individualize()
213{ 213{
214 mkdir -p "$mnt" 214 mkdir -p "$mnt"
215 mountpoint -q "$mnt" || mount "$part"3 "$mnt" 215 (
216 set +e
217 losetup -a >&2
218 lsblk >&2
219 mount|grep $PWD >&2
220 : OK
221 )
222 mountpoint "$mnt" || mount "$part"3 "$mnt"
216 add_keys 223 add_keys
217 add_initrd "$samizdat_linux_dir"/ "${version_suffix}" 224 add_initrd "$samizdat_linux_dir"/ "${version_suffix}"
218 add_grub_cfg 225 add_grub_cfg