diff options
Diffstat (limited to 'src/parted-usb.sh')
-rwxr-xr-x | src/parted-usb.sh | 9 |
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() | |||
212 | individualize() | 212 | individualize() |
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 |