mkarchiso: Fix mmd-command check

valication_error variable is not changed when mmd and/or mcopy are missing.
This commit is contained in:
hayao 2022-01-08 01:39:31 +09:00 committed by Yamada Hayao
parent 324bab5c4e
commit 025d6b828f

View file

@ -653,6 +653,7 @@ _validate_requirements_bootmode_uefi-x64.systemd-boot.esp() {
# Check if mmd and mcopy are available
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
fi