summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorgavin <gavin@FreeBSD.org>2010-01-17 11:10:24 +0000
committergavin <gavin@FreeBSD.org>2010-01-17 11:10:24 +0000
commita18c44a1c84134a0cf33184bc81035c880d3832d (patch)
treeedb0863b55af41c842b7771189ca26fc97531eba /etc
parent0bd93a7ab7f1c476a1595df7f5e32849c93a0bd6 (diff)
downloadFreeBSD-src-a18c44a1c84134a0cf33184bc81035c880d3832d.zip
FreeBSD-src-a18c44a1c84134a0cf33184bc81035c880d3832d.tar.gz
Merge r201440, r201445 from head:
Don't complain when we encounter the "cache" source, it's valid. Also fix the error message to include a line feed and not include a stray comma. Submitted by: Artis Caune artis.caune gmail.com While here, change "> /dev/stderr" for more usual ">&2" Submitted by: jilles PR: bin/121671 Approved by: ed (mentor, implicit)
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/nsswitch4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/nsswitch b/etc/rc.d/nsswitch
index 1540583..8b0b228 100755
--- a/etc/rc.d/nsswitch
+++ b/etc/rc.d/nsswitch
@@ -77,10 +77,10 @@ generate_host_conf()
nis)
echo "nis" >> $host_conf
;;
- *=*)
+ cache | *=*)
;;
*)
- printf "Warning: unrecognized source [%s]", $_s > "/dev/stderr"
+ printf "Warning: unrecognized source [%s]\n" $_s >&2
;;
esac
done
OpenPOWER on IntegriCloud