Make user_special() return 1 if none of the patterns in /etc/etc-update.special are...
authorZac Medico <zmedico@gentoo.org>
Wed, 19 Jul 2006 21:12:04 +0000 (21:12 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 19 Jul 2006 21:12:04 +0000 (21:12 -0000)
svn path=/main/trunk/; revision=3953

bin/etc-update

index 340be9eb7e9c13877a0e6d6331cb52c15fc17835..8e2cf51b6b72790f9d6e19e1e8dd6a7b2684ee3b 100755 (executable)
@@ -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() {