diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-06-02 05:32:45 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-06-02 05:50:55 +0200 |
commit | f465358ba4ac5e32c858b0f7a30c5983fb2a318a (patch) | |
tree | 1f3058a0e3570ed75418548eb06ca92d28ddf29e | |
parent | c8f6effd1884b24de27c24d92883b0e270bcc3ba (diff) | |
download | mkinitcpio-f465358ba4ac5e32c858b0f7a30c5983fb2a318a.tar.gz mkinitcpio-f465358ba4ac5e32c858b0f7a30c5983fb2a318a.tar.xz |
Don't report success when builderrors > 00.9.1
Technically, we report success when we wrote an image to disk, but this
might not be obvious to users, even with a blaring warning right before
this line. If in the event builderrors is incremented at all, avoid
reporting any sort of "success", since there might be cause for concern.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rwxr-xr-x | mkinitcpio | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |