UPSTREAM: Fix return value check from set_partitioning_setting_completed()

Test was wrong way around. Function returns non-zero value on fail.

BUG=None
TEST=Compile

Signed-off-by: Tomas Melin <tomas.melin@vaisala.com>
Signed-off-by: Chris Ball <chris@printf.net>
(cherry picked from commit e094e28d56ac5cb0b70a14e61c2a936837729eb8)
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>

Change-Id: I844c9ab5483b3519b6e7b0336615b90ac0ba7feb
Reviewed-on: https://chromium-review.googlesource.com/1114445
Commit-Ready: Gwendal Grignou <gwendal@chromium.org>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
1 file changed