[flashrom] [PATCH] don't print dmidecode shell error

Michael Karcher flashrom at mkarcher.dialup.fu-berlin.de
Wed Apr 6 09:53:49 CEST 2011


Am Dienstag, den 05.04.2011, 23:48 +0200 schrieb Stefan Reinauer:
> > -static const char *dmidecode_command = "dmidecode";
> > +static const char *dmidecode_command = "dmidecode 2>/dev/null";
> Any opinions on a half line patch? :)

Not every OS has a unix command interpreter. This will break on DOS.
Most likely fine if DOS is detected per ifdef.

Regards,
  Michael Karcher





More information about the flashrom mailing list