Commit 025d6b82 authored by Yamada Hayao's avatar Yamada Hayao Committed by Yamada Hayao
Browse files

mkarchiso: Fix mmd-command check

valication_error variable is not changed when mmd and/or mcopy are missing.
parent 324bab5c
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment