Fix hddtemp with disabled drives.
authorBen Kibbey <benkibbey@users.sourceforge.net>
Fri, 1 Jan 2010 22:49:35 +0000 (14:49 -0800)
committerBrenden Matthews <brenden@diddyinc.com>
Fri, 1 Jan 2010 22:55:39 +0000 (14:55 -0800)
commitc2e8734cb3c14243b0147bc24270c1545e76f1e1
tree4142a9a27abcb1cfc074db72708dc8f81a07abb8
parente01a157c6290bf58176e6f63ba8f3159c613a33d
Fix hddtemp with disabled drives.

Some drives are unable to return their temperature when in standby mode.
If there is more than one drive installed then other drives may not be
able to get parsed. This patch will skip over the unparsable output for
the current drive and let others get parsed.

Signed-off-by: Brenden Matthews <brenden@diddyinc.com>
src/hddtemp.c