Skip to content

Add consistent exit code to 40-microcode.install

Evan James requested to merge dalto/mkinitcpio:microcode into master

In my testing of the latest changes related to microcode, when verbose is not passed to kernel-install, it fails with the error "failed with exit status 1.".

Upon investigation, this appears to be because the last thing that was run prior to exiting is (( KERNEL_INSTALL_VERBOSE )).

This PR simply moves that comparison above the call to install. From my perspective, it also seems more appropriate to print the message prior to calling install.

Merge request reports