mkuboot.sh: Fail if mkimage is missing
[pandora-kernel.git] / scripts / mkuboot.sh
index 2e3d3cd..446739c 100755 (executable)
@@ -11,7 +11,7 @@ if [ -z "${MKIMAGE}" ]; then
        if [ -z "${MKIMAGE}" ]; then
                # Doesn't exist
                echo '"mkimage" command not found - U-Boot images will not be built' >&2
-               exit 0;
+               exit 1;
        fi
 fi