commit | a150e6c9df04f8c5eb4c7f550a109e3e34aafa81 | [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 | 694cc87b76b1063a2a7a8bd1809e990df0a469f8 [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>