From 57e5360ea9d0dffbd3140065fcdcecc10dfcecff Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Tue, 19 Nov 2013 06:32:02 -0800 Subject: uhd_images_downloader: more descriptive error when MD5 check fails --- host/utils/uhd_images_downloader.py.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/utils') 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" -- cgit v1.2.3