From dc3bb50020a6e9af8ca8542f986cccc00978a770 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 23 Aug 2007 06:54:48 +0000 Subject: [PATCH] Bug #189791 - Send errors to /dev/null when debug-print() fails to write to ${T}/eclass-debug.log. (trunk r7678) svn path=/main/branches/2.1.2/; revision=7679 --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index f45e1b69d..c2b06b691 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1193,7 +1193,7 @@ debug-print() { fi # default target - echo "$1" >> "${T}/eclass-debug.log" + echo "$1" 2>/dev/null >> "${T}/eclass-debug.log" # let the portage user own/write to this file chmod g+w "${T}/eclass-debug.log" &>/dev/null -- 2.26.2