On Tuesday 25 October 2005 17:17, baggins wrote:
> Author: baggins
> Date: Tue Oct 25 16:17:26 2005
> New Revision: 6479
>
> Modified:
>    rc-scripts/trunk/rc.d/rc
>    rc-scripts/trunk/rc.d/rc.modules
>    rc-scripts/trunk/rc.d/rc.shutdown
>    rc-scripts/trunk/rc.d/rc.sysinit
> Log:
> - grep: all your stderr are belong to /dev/null
[...]

> Modified: rc-scripts/trunk/rc.d/rc
> ===========================================================================
>=== --- rc-scripts/trunk/rc.d/rc       (original)
> +++ rc-scripts/trunk/rc.d/rc  Tue Oct 25 16:17:26 2005
> @@ -92,7 +92,7 @@
>
>  # See if we want to be in user confirmation mode
>  if [ "$previous" = "N" ]; then
> -     if grep -qi confirm /proc/cmdline >/dev/null \
> +     if grep -qi confirm /proc/cmdline >/dev/null 2>/dev/null \

grep -q implies already silence, what situation this solves?
perhaps just add -s option?

ps: is svn commit intentionally configured to redirect replies to 
[EMAIL PROTECTED] this is due From: baggins <[EMAIL PROTECTED]> for my MUA 
(kmail/1.8.3)

-- 
glen
_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to