From 4ad0fdc5c8c7d18e2a39eca9b6316ac05c5fad90 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 25 Jan 2024 07:51:34 +0100 Subject: [PATCH] Update install.sh --- src/install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/install.sh b/src/install.sh index 33ce651..e4ea339 100644 --- a/src/install.sh +++ b/src/install.sh @@ -115,6 +115,8 @@ finishInstall() { if [[ "${BOOT_MODE,,}" == "windows_legacy" ]]; then touch "$STORAGE/windows.bios" + else + rm -f "$STORAGE/windows.bios" fi rm -rf "$TMP" @@ -231,8 +233,7 @@ downloadImage() { cd "$TMP" if ! /run/mido.sh "$url"; then - error "Failed to download $url" - exit 68 + return 1 fi cd /run