summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmkinitcpio2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkinitcpio b/mkinitcpio
index 7497b7c..e20dff5 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -430,7 +430,7 @@ if [[ $GENIMG ]]; then
if [[ $errmsg ]]; then
error "Image generation FAILED: %s" "$errmsg"
status=1
- else
+ elif (( builderrors == 0 )); then
msg "Image generation successful"
fi