aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2013-11-19 06:32:02 -0800
committerNicholas Corgan <nick.corgan@ettus.com>2013-11-19 06:32:02 -0800
commit57e5360ea9d0dffbd3140065fcdcecc10dfcecff (patch)
treede62e887302f378fa17c4e2cf027cb1227bd6e54 /host/utils
parentad8b21377d1d50f42025c16f588ac00977275418 (diff)
downloaduhd-57e5360ea9d0dffbd3140065fcdcecc10dfcecff.tar.gz
uhd-57e5360ea9d0dffbd3140065fcdcecc10dfcecff.tar.bz2
uhd-57e5360ea9d0dffbd3140065fcdcecc10dfcecff.zip
uhd_images_downloader: more descriptive error when MD5 check fails
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/uhd_images_downloader.py.in2
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"