diff options
author | John Klug <john.klug@multitech.com> | 2020-09-25 16:50:34 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-09-25 16:50:34 -0500 |
commit | 7555414f42a6edb0655a3b3934d08710e164d993 (patch) | |
tree | 56415f169e50894668c066f3facf575953dc2b84 /recipes-bsp/multitech/mt-dt-overlay/init | |
parent | 229545bfe30dde684ed9ccef884c25ec1f11e24b (diff) | |
download | meta-multitech-7555414f42a6edb0655a3b3934d08710e164d993.tar.gz meta-multitech-7555414f42a6edb0655a3b3934d08710e164d993.tar.bz2 meta-multitech-7555414f42a6edb0655a3b3934d08710e164d993.zip |
Need to quit if not overlay is found
Diffstat (limited to 'recipes-bsp/multitech/mt-dt-overlay/init')
-rwxr-xr-x | recipes-bsp/multitech/mt-dt-overlay/init | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-bsp/multitech/mt-dt-overlay/init b/recipes-bsp/multitech/mt-dt-overlay/init index 748a470..5114e4e 100755 --- a/recipes-bsp/multitech/mt-dt-overlay/init +++ b/recipes-bsp/multitech/mt-dt-overlay/init @@ -55,6 +55,10 @@ setdevtree() { best="$d" fi done + if [[ $best == -1 ]] ; then + # No overlay found + exit 0 + fi cd $best install_dtbo_dir if [[ -d capability ]] ; then |