summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2004-07-27 16:59:35 +0000
committermtm <mtm@FreeBSD.org>2004-07-27 16:59:35 +0000
commit232741d90d44c4d79cdaaa53a0623938eebfcb64 (patch)
tree551b8cc76e587dc21d7188d6ad0e93639cabe8ba
parent4ab080249a9f183254e39905e915442e3e7490d1 (diff)
downloadFreeBSD-src-232741d90d44c4d79cdaaa53a0623938eebfcb64.zip
FreeBSD-src-232741d90d44c4d79cdaaa53a0623938eebfcb64.tar.gz
Even though binaries will give 0 matches, make it explicit.
-rw-r--r--etc/rc.d/localpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/localpkg b/etc/rc.d/localpkg
index 9ddd383..257743e 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
}
OpenPOWER on IntegriCloud