Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip boot flag check when installing to directory
In commit 8b59cb0 the check_boot_flag was moved from install_grml() to main(), though inside install_grml() we had the special casing whether the target is a directory or not. To avoid having to add this check before any possible check_boot_flag() invocation (and possibly forget about it), add this check to the implementation of check_boot_flag(). Fixes: | % sudo grml2usb --tmpdir=/tmp/grml2iso.tmp grml64-small_2020.06-rc1.iso grml32-small_2020.06-rc1.iso /tmp/grml2iso.tmp/cddir | Executing grml2usb version 0.18.1 | Checking for boot flag | Fatal: /tmp/grml2iso.tmp/cddir: unrecognised disk label
- Loading branch information