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: Erwan Velu
Subject: Re: [dmidecode] dmidecode should omit warning about SMBIOS version when -q is set
Date: Mon, 17 Mar 2014 10:28:59 +0100

Totally agree on this. I had the issue and had to filter out this element
unless it was reporting stupid strings to the user :p


2014-03-16 16:36 GMT+01:00 Petter Reinholdtsen <address@hidden>:

> [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.
>
> --
> Happy hacking
> Petter Reinholdtsen
>
> _______________________________________________
> https://lists.nongnu.org/mailman/listinfo/dmidecode-devel
>


reply via email to

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