svn commit: r202465 - stable/7/etc/rc.d
Gavin Atkinson
gavin at FreeBSD.org
Sun Jan 17 11:10:34 UTC 2010
Author: gavin
Date: Sun Jan 17 11:10:32 2010
New Revision: 202465
URL: http://svn.freebsd.org/changeset/base/202465
Log:
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)
Modified:
stable/7/etc/rc.d/nsswitch
Directory Properties:
stable/7/etc/rc.d/ (props changed)
Modified: stable/7/etc/rc.d/nsswitch
==============================================================================
--- stable/7/etc/rc.d/nsswitch Sun Jan 17 11:10:24 2010 (r202464)
+++ stable/7/etc/rc.d/nsswitch Sun Jan 17 11:10:32 2010 (r202465)
@@ -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
More information about the svn-src-stable
mailing list