]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - scripts/mkuboot.sh
mkuboot.sh: Fail if mkimage is missing
[karo-tx-linux.git] / scripts / mkuboot.sh
index 2e3d3cd916b88be452585478ac71b771999903b1..446739c7843ab0f28b4efcead8574cd5ac5bb3ac 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