[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