mkarchiso: Fix mmd-command check
valication_error variable is not changed when mmd and/or mcopy are missing.
This commit is contained in:
parent
324bab5c4e
commit
025d6b828f
@ -653,6 +653,7 @@ _validate_requirements_bootmode_uefi-x64.systemd-boot.esp() {
|
|||||||
|
|
||||||
# Check if mmd and mcopy are available
|
# Check if mmd and mcopy are available
|
||||||
if ! { command -v mmd &> /dev/null && command -v mcopy &> /dev/null; }; then
|
if ! { command -v mmd &> /dev/null && command -v mcopy &> /dev/null; }; then
|
||||||
|
(( validation_error=validation_error+1 ))
|
||||||
_msg_error "Validating '${bootmode}': mmd and/or mcopy are not available on this host. Install 'mtools'!" 0
|
_msg_error "Validating '${bootmode}': mmd and/or mcopy are not available on this host. Install 'mtools'!" 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user