From: Ben Gras Date: Sun, 24 Jul 2005 01:17:32 +0000 (+0000) Subject: Redirect touch stderr to /dev/null, error is unlikely and harmless in X-Git-Tag: v3.1.0~552 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doc/zpipe.c?a=commitdiff_plain;h=4e38cf12b36247f7c17b09e7ad1babee03e3d9e4;p=minix.git Redirect touch stderr to /dev/null, error is unlikely and harmless in normal conditions but certain and irritating and harmless when booting from cd --- diff --git a/etc/rc b/etc/rc index 58c428ab0..50b496506 100755 --- a/etc/rc +++ b/etc/rc @@ -106,7 +106,8 @@ Mount $usr /usr failed -- Single user." fi # This file is necessary for above 'shutdown -C' check. - touch /usr/adm/wtmp + # (Silence stderr in case of running from cd.) + touch /usr/adm/wtmp 2>/dev/null if [ "$sflag" ] then