Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorhayao <hayao@fascode.net>2022-01-08 01:39:31 +0900
committerYamada Hayao <hayao@fascode.net>2022-01-08 02:18:09 +0000
commit025d6b828fd109df5a58517cc6bd5cb2f8c059d6 (patch)
tree06a7499d47a0e12858cf88134d7f7dda264f97a7 /archiso
parent324bab5c4e247a7326e60c3c319898eb95b5d7b3 (diff)
mkarchiso: Fix mmd-command check
valication_error variable is not changed when mmd and/or mcopy are missing.
Diffstat (limited to 'archiso')
-rwxr-xr-xarchiso/mkarchiso1
1 files changed, 1 insertions, 0 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index ddb7022..dab6bde 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -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