[arch-general] [PATCH 44/48] Save error messages to /dev/tty9.

Victor Lowther victor.lowther at gmail.com
Fri Jul 2 06:58:09 EDT 2010


On Jul 2, 2010, at 4:48 AM, "Kurt J. Bosch" <kjb- 
temp-2009 at alpenjodel.de> wrote:

> Am 2010-06-30 23:47, schrieb Victor Lowther:
>> ---
>>  functions |    4 ++++
>>  1 files changed, 4 insertions(+), 0 deletions(-)
>>
>> diff --git a/functions b/functions
>> index 9ec8b5e..f1dce8a 100644
>> --- a/functions
>> +++ b/functions
>> @@ -4,6 +4,10 @@
>>
>>  # width:
>>
>> +grep -q initdebug&&  {
>> +    exec 2>/dev/tty9
>> +}
>> +
>
> Hmm, won't this cause a read from stdin when starting/stopping  
> daemons manually in a terminal?

It gets fixed in the next patch.

>
>>  STAT_COL=80
>>  if [[ ! -t 1 ]]; then
>>      USECOLOR=""
>
>


More information about the arch-general mailing list