commit:     679f57ca2e331ef3f8751808989ef8f69b6434fe
Author:     Michael Gerlach <n3ph <AT> cccfr <DOT> de>
AuthorDate: Thu Feb 13 12:57:19 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Feb 13 13:32:20 2020 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=679f57ca

gen_initramfs.sh: append_splash(): Fix splash_geninitramfs error handling

Closes: https://bugs.gentoo.org/709478
Signed-off-by: Michael Gerlach <n3ph <AT> cccfr.de>
Closes: https://github.com/gentoo/genkernel/pull/13
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 gen_initramfs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gen_initramfs.sh b/gen_initramfs.sh
index 0ff4759..2ad4e64 100755
--- a/gen_initramfs.sh
+++ b/gen_initramfs.sh
@@ -1014,7 +1014,7 @@ append_splash() {
        local res_param=""
        [ -n "${SPLASH_RES}" ] && res_param="-r ${SPLASH_RES}"
        splash_geninitramfs -c "${TDIR}" ${res_param} ${SPLASH_THEME} \
-               | gen_die "Failed to build splash cpio archive"
+               || gen_die "Failed to build splash cpio archive"
 
        if [ -e "/usr/share/splashutils/initrd.splash" ]
        then

Reply via email to