diff --git a/src/usr/lib/rsetup/cli/u-boot-menu.sh b/src/usr/lib/rsetup/cli/u-boot-menu.sh index 441b4a9..a39d33b 100644 --- a/src/usr/lib/rsetup/cli/u-boot-menu.sh +++ b/src/usr/lib/rsetup/cli/u-boot-menu.sh @@ -11,7 +11,7 @@ load_u-boot_setting() { if [[ -z "${U_BOOT_FDT_OVERLAYS_DIR:-}" ]]; then if [[ -f /usr/share/u-boot-menu/read-config ]]; then - U_BOOT_FDT_OVERLAYS_DIR="$(. /usr/share/u-boot-menu/read-config && echo "$U_BOOT_FDT_OVERLAYS_DIR")" + U_BOOT_FDT_OVERLAYS_DIR="$(set +u; . /usr/share/u-boot-menu/read-config && echo "$U_BOOT_FDT_OVERLAYS_DIR")" else eval "$(grep "^U_BOOT_FDT_OVERLAYS_DIR" "$(which u-boot-update)")" fi