]> arthur.barton.de Git - bup.git/commit
cmd/memtest: don't die if /proc/self/status is the wrong format.
authorAvery Pennarun <apenwarr@gmail.com>
Sat, 5 Feb 2011 01:30:11 +0000 (17:30 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Sat, 5 Feb 2011 01:32:25 +0000 (17:32 -0800)
commit6c2c0f678d458a90eaf606707b59154f62cef62b
tree7ecf4517ab95086199f912adbca7b6c9505a4525
parent9e57e8b352095a5fe9de6dd52ec03e92d6042b44
cmd/memtest: don't die if /proc/self/status is the wrong format.

Apparently Solaris has /proc/self/status, but it's binary and so our
Linux-centric parser couldn't handle it.  The data we're getting from it is
non-critical, so just ignore the parse error and let the high-level code in
report() deal with it.

Reported by henning mueller, diagnosed by Gabriel Filion.  Thanks guys!

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
cmd/memtest-cmd.py