summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-19 21:12:04 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-19 21:12:04 +0000
commit79db99700016a81cdcf3bbab20b8800314da39cc (patch)
tree15954cc0ca62110f846b0c3dbcf9dbf220f5fd36
parent30fd75dcfea411165ee14c3774c163f6af45ca10 (diff)
downloadportage-79db99700016a81cdcf3bbab20b8800314da39cc.tar.gz
portage-79db99700016a81cdcf3bbab20b8800314da39cc.tar.bz2
portage-79db99700016a81cdcf3bbab20b8800314da39cc.zip
Make user_special() return 1 if none of the patterns in /etc/etc-update.special are matched.
svn path=/main/trunk/; revision=3953
-rwxr-xr-xbin/etc-update3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/etc-update b/bin/etc-update
index 340be9eb7..8e2cf51b6 100755
--- a/bin/etc-update
+++ b/bin/etc-update
@@ -186,9 +186,8 @@ function user_special() {
while read pat; do
echo ${1} | grep "${pat}" > /dev/null && return 0
done < /etc/etc-update.special
- else
- return 1
fi
+ return 1
}
function do_file() {