summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-26 09:52:07 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-26 09:52:07 +0000
commitb44fecd3faba29b8dc6d1c7b8757f75cdd6cf251 (patch)
treeb9be13dd09f743656cb26d17a323fa7eff898c59 /eclass/games.eclass
parentmove into unstable (diff)
downloadhistorical-b44fecd3faba29b8dc6d1c7b8757f75cdd6cf251.tar.gz
historical-b44fecd3faba29b8dc6d1c7b8757f75cdd6cf251.tar.bz2
historical-b44fecd3faba29b8dc6d1c7b8757f75cdd6cf251.zip
send error output to /dev/null
Diffstat (limited to 'eclass/games.eclass')
-rw-r--r--eclass/games.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass
index 0114304af045..1b83a2aa9379 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.83 2004/12/25 07:59:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.84 2004/12/26 09:52:07 vapier Exp $
#
# devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org
#
@@ -106,8 +106,8 @@ prepgamesdirs() {
gamesowners -R "${D}/${dir}"
find "${D}/${dir}" -type d -print0 | xargs --null chmod 750
find "${D}/${dir}" -type f -print0 | xargs --null chmod o-rwx,g+r
- ) &> /dev/null
- f=$(find "${D}/${dir}" -perm +4000 -a -uid 0)
+ ) &>/dev/null
+ f=$(find "${D}/${dir}" -perm +4000 -a -uid 0 2>/dev/null)
if [[ -n ${f} ]] ; then
eerror "A game was detected that is setuid root!"
eerror "${f}"