diff options
author | Nicholas Corgan <nick.corgan@ettus.com> | 2013-11-19 06:32:02 -0800 |
---|---|---|
committer | Nicholas Corgan <nick.corgan@ettus.com> | 2013-11-19 06:32:02 -0800 |
commit | 57e5360ea9d0dffbd3140065fcdcecc10dfcecff (patch) | |
tree | de62e887302f378fa17c4e2cf027cb1227bd6e54 | |
parent | ad8b21377d1d50f42025c16f588ac00977275418 (diff) | |
download | uhd-57e5360ea9d0dffbd3140065fcdcecc10dfcecff.tar.gz uhd-57e5360ea9d0dffbd3140065fcdcecc10dfcecff.tar.bz2 uhd-57e5360ea9d0dffbd3140065fcdcecc10dfcecff.zip |
uhd_images_downloader: more descriptive error when MD5 check fails
-rw-r--r-- | host/utils/uhd_images_downloader.py.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/host/utils/uhd_images_downloader.py.in b/host/utils/uhd_images_downloader.py.in index 93abffaf4..bb082190c 100644 --- a/host/utils/uhd_images_downloader.py.in +++ b/host/utils/uhd_images_downloader.py.in @@ -123,8 +123,10 @@ if __name__ == "__main__": if images_zip_md5sum != downloaded_zip_md5sum: print "\nMD5 checksum does not match!" print "Expected %s, got %s" % (images_zip_md5sum, downloaded_zip_md5sum) + print "Images did not install. If problem persists, please contact support@ettus.com." os.remove(filename) os.chdir("/".join(images_dir.split("/")[:-1])) + sys.exit(1) else: temp_path = "tempdir" |