diff options
author | Koushik Dutta <koushd@gmail.com> | 2010-12-12 16:54:41 -0800 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2010-12-12 16:54:41 -0800 |
commit | 134ead7537bc8b8fa5996a694576775170afc949 (patch) | |
tree | 9437df12d3b98102faa78e72bad355b4b970745a /flashutils | |
parent | 03a4f5ba0d42d1fdae90eaf70039d905318dd208 (diff) | |
download | bootable_recovery-134ead7537bc8b8fa5996a694576775170afc949.zip bootable_recovery-134ead7537bc8b8fa5996a694576775170afc949.tar.gz bootable_recovery-134ead7537bc8b8fa5996a694576775170afc949.tar.bz2 |
fix up bmlutils some more
Change-Id: Ia11e917a6c0dc8164d599e02154f9f7b2934ed65
Diffstat (limited to 'flashutils')
-rw-r--r-- | flashutils/flash_image.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/flashutils/flash_image.c b/flashutils/flash_image.c index 560370c..3966c42 100644 --- a/flashutils/flash_image.c +++ b/flashutils/flash_image.c @@ -147,5 +147,8 @@ int main(int argc, char **argv) return 2; } - return restore_raw_partition(argv[1], argv[2]); + int ret = restore_raw_partition(argv[1], argv[2]); + if (ret != 0) + fprintf(stderr, "failed with error: %d\n", ret); + return ret; } |