Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/37'
Browse files Browse the repository at this point in the history
  • Loading branch information
mika committed Jun 3, 2020
2 parents aed7d83 + 8b59cb0 commit 8576eac
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions grml2usb
Expand Up @@ -1875,10 +1875,6 @@ def install_grml(mountpoint, device):
register_tmpfile(device_mountpoint)
remove_device_mountpoint = True
try:
check_for_fat(device)
if not options.skipbootflag:
check_boot_flag(device)

set_rw(device)
mount(device, device_mountpoint, ["-o", "utf8,iocharset=iso8859-1"])
except CriticalException:
Expand Down Expand Up @@ -2163,6 +2159,9 @@ def main():
# provide upgrade path
handle_compat_warning(device)

if not options.skipbootflag:
check_boot_flag(device)

# check for vfat partition
handle_vfat(device)

Expand Down

0 comments on commit 8576eac

Please sign in to comment.