diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-10-30 16:46:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-10-30 16:46:41 +0000 |
commit | a723e27daad6f20a48f0b691aea3ea0a3659df75 (patch) | |
tree | 7b919731c59bf92f332f649a2c8e83a8a7a2c7f0 /eclass/savedconfig.eclass | |
parent | Remove net-wireless/bluez-hciemu -- fix bug 257826 (diff) | |
download | historical-a723e27daad6f20a48f0b691aea3ea0a3659df75.tar.gz historical-a723e27daad6f20a48f0b691aea3ea0a3659df75.tar.bz2 historical-a723e27daad6f20a48f0b691aea3ea0a3659df75.zip |
invert read logic pointed out by Arfrever Frehtes Taifersar Arahesis #289168#4
Diffstat (limited to 'eclass/savedconfig.eclass')
-rw-r--r-- | eclass/savedconfig.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/savedconfig.eclass b/eclass/savedconfig.eclass index c2a66a0740d2..bb01c4886959 100644 --- a/eclass/savedconfig.eclass +++ b/eclass/savedconfig.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.11 2009/10/30 00:05:25 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.12 2009/10/30 16:46:41 vapier Exp $ # @ECLASS: savedconfig.eclass # @MAINTAINER: @@ -115,7 +115,7 @@ restore_config() { die "do not know how to handle non-file/directory ${found}" else # maybe the user is screwing around with perms they shouldnt #289168 - if [[ -r ${base} ]] ; then + if [[ ! -r ${base} ]] ; then eerror "Unable to read ${base} -- perms are screwed ?" die "fix your system" fi |