From 025d6b828fd109df5a58517cc6bd5cb2f8c059d6 Mon Sep 17 00:00:00 2001 From: hayao Date: Sat, 8 Jan 2022 01:39:31 +0900 Subject: mkarchiso: Fix mmd-command check valication_error variable is not changed when mmd and/or mcopy are missing. --- archiso/mkarchiso | 1 + 1 file changed, 1 insertion(+) (limited to 'archiso/mkarchiso') 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 -- cgit v1.2.3-70-g09d2