From 6d00f2c1a81c67008d8b1181067f4c5b0627b7dd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 23 Aug 2007 06:54:18 +0000 Subject: Bug #189791 - Send errors to /dev/null when debug-print() fails to write to ${T}/eclass-debug.log. svn path=/main/trunk/; revision=7678 --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ebuild.sh') diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 39fcbb355..714371352 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1115,7 +1115,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 -- cgit v1.2.3-1-g7c22