Report return values correctly
authorTommi Rantala <ext-tommi.1.rantala@nokia.com>
Fri, 22 Oct 2010 11:34:09 +0000 (14:34 +0300)
committerTommi Rantala <ext-tommi.1.rantala@nokia.com>
Fri, 22 Oct 2010 11:34:09 +0000 (14:34 +0300)
commit370b926153cfd8e986a3490177a756286ff66802
tree93d03b391027b131bfd1a56d388b3b6aa7c59e04
parent3050a2f95b72d81cd4dd6973ffe3771e2c426c94
Report return values correctly

- Save $? to another variable so that we report correct value.
- Print what xmeminfo wrote to stderr on failure.
measure/save-incremental-endurance-stats