mkinitcpio should exit with a non-zero exit code if the image generation fails
If the image generation fails due to ex: zstd getting killed by the OOM-killer, mkinitcpio
prints ERROR: Image generation FAILED: bsdtar (step 1) reported an error
and exit with a success exit code, it should exit with a non-zero exit code.