diff options
author | Mike Makonnen <mtm@FreeBSD.org> | 2004-07-27 16:59:35 +0000 |
---|---|---|
committer | Mike Makonnen <mtm@FreeBSD.org> | 2004-07-27 16:59:35 +0000 |
commit | c6cb9d2e4bb051da8898636fd178174483fabe5b (patch) | |
tree | 551b8cc76e587dc21d7188d6ad0e93639cabe8ba /etc | |
parent | 1a8cfbc45096bb34daeddc44ba75ff8377e9e5c8 (diff) | |
download | src-c6cb9d2e4bb051da8898636fd178174483fabe5b.tar.gz src-c6cb9d2e4bb051da8898636fd178174483fabe5b.zip |
Even though binaries will give 0 matches, make it explicit.
Notes
Notes:
svn path=/head/; revision=132701
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.d/localpkg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/localpkg b/etc/rc.d/localpkg index 9ddd3837c767..257743e991fe 100644 --- a/etc/rc.d/localpkg +++ b/etc/rc.d/localpkg @@ -23,7 +23,7 @@ script_is_rcd() _s="$1" [ -z "$_s" ] && return 1 - match=`grep -c -m1 '^# PROVIDE:' "$_s" 2> /dev/null` + match=`grep -I -c -m1 '^# PROVIDE:' "$_s" 2> /dev/null` [ "$match" = "1" ] && return 0 return 1 } |