commit | 008ab492c81e2250dd4d4c924e607e1031606826 | [log] [tgz] |
---|---|---|
author | Rob Herring <robh@kernel.org> | Mon Jan 26 09:43:15 2015 -0600 |
committer | Tom Rini <trini@konsulko.com> | Thu Mar 05 11:17:53 2015 -0500 |
tree | e643c2248ea92b9cb207079016b786086d620ca3 | |
parent | c471613ae9d4ec09d03e0f0743c94e7167a2c34b [diff] |
gpt: fix error reporting on partition table write failures The gpt command always reports success even if writing the partition table failed. Propagate the return value of gpt_restore so we get proper status reported. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Przemyslaw Marczak <p.marczak@samsung.com>