dmidecode-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [dmidecode] dmidecode should omit warning about SMBIOS version when


From: Jens Rosenboom
Subject: Re: [dmidecode] dmidecode should omit warning about SMBIOS version when -q is set
Date: Mon, 17 Mar 2014 10:24:45 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

Am 16.03.14 16:36, schrieb Petter Reinholdtsen:
> [Jens Rosenboom]
>> As in particular scripts call dmidecode often with -s (implying -q)
>> and expect to get only a single word (and in particular only a
>> single line of output), I propose that in this case the warning
>> about an unsupported SMBIOS version should be ommited. Most scripts
>> won't be able to handle the warning properly anyway, also most -s
>> options should still continue to work. My patch would look like
>> this:
> 
> What about sending the warning to stderr instead?  This way scripts
> looking on stdin will not notice, while the info is still emitted.

Would be fine for me.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]