prepare_image: exit on error

This commit is contained in:
Marek Marczykowski 2013-02-16 21:06:11 +01:00
parent afc68b641c
commit 338593d624

View File

@ -8,6 +8,8 @@ RETCODE=0
. ./builder_setup . ./builder_setup
set -e
if ! [ $# -eq 1 ]; then if ! [ $# -eq 1 ]; then
echo "usage $0 <img_file_name>" echo "usage $0 <img_file_name>"
exit exit