summaryrefslogtreecommitdiff
path: root/scripts/install/install-image
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2010-01-13 16:51:45 -0800
committerBob Gilligan <gilligan@vyatta.com>2010-01-13 16:51:45 -0800
commit81c1597a0c53341caddcf2459b45e7db033d04ef (patch)
treea29df4ca7fa1bfd3a10df3833ed196c8ac6c2535 /scripts/install/install-image
parentfa5fa5f865ecb79da486bce623cf66c3d79ec41d (diff)
downloadvyatta-cfg-system-81c1597a0c53341caddcf2459b45e7db033d04ef.tar.gz
vyatta-cfg-system-81c1597a0c53341caddcf2459b45e7db033d04ef.zip
Don't allow installation to proceed if MD5 checksum errors are found.
Diffstat (limited to 'scripts/install/install-image')
-rwxr-xr-xscripts/install/install-image1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/install/install-image b/scripts/install/install-image
index 507ee294..5de3772c 100755
--- a/scripts/install/install-image
+++ b/scripts/install/install-image
@@ -121,6 +121,7 @@ set_up_new_iso ()
echo "Failed!"
echo "$failures checksum failures found!"
echo "ISO image is correupted and can not be used."
+ exit 1
fi
# mount squash image