From: Zac Medico Date: Wed, 19 Jul 2006 21:12:04 +0000 (-0000) Subject: Make user_special() return 1 if none of the patterns in /etc/etc-update.special are... X-Git-Tag: v2.1.1~188 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=79db99700016a81cdcf3bbab20b8800314da39cc;p=portage.git Make user_special() return 1 if none of the patterns in /etc/etc-update.special are matched. svn path=/main/trunk/; revision=3953 --- 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() {