Fix possible broken pipe error message when configuring the kernel
authorEric Edgar <rocket@gentoo.org>
Mon, 7 Mar 2005 16:54:26 +0000 (16:54 +0000)
committerEric Edgar <rocket@gentoo.org>
Mon, 7 Mar 2005 16:54:26 +0000 (16:54 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@182 67a159dc-881f-0410-a524-ba9dfbe2cb84

gen_configkernel.sh

index 20a1f5ce3d429bcdf17be9d29ce6597fec20ae00..23bf617863f2e9f5883d6f6b058271578707d3a2 100644 (file)
@@ -52,7 +52,7 @@ config_kernel() {
                else
                        print_info 1 '        >> Running oldconfig...'
                fi
-               yes '' | compile_generic oldconfig kernel
+               yes '' 2>/dev/null | compile_generic oldconfig kernel
        fi
        if isTrue "${CLEAN}"
        then