diff options
-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 |