From b93f378d75ca145b05b8203268d44e03ff103b0d Mon Sep 17 00:00:00 2001 From: Daniel Knight Date: Tue, 20 Nov 2018 21:14:48 +0000 Subject: [PATCH] v6.18 + Prevent: 2018-11-20 21:13:41 (838 KB/s) - 'dietpi-globals.1' saved [70565/70565] Error: Unable to load dietpi-globals. Aborting... --- PREP_SYSTEM_FOR_DIETPI.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PREP_SYSTEM_FOR_DIETPI.sh b/PREP_SYSTEM_FOR_DIETPI.sh index c803e8c346..d7fc673b24 100644 --- a/PREP_SYSTEM_FOR_DIETPI.sh +++ b/PREP_SYSTEM_FOR_DIETPI.sh @@ -124,7 +124,7 @@ #------------------------------------------------------------------------------------------------ # - Download # - NB: We'll have to manually handle errors, until DietPi-Globals are sucessfully loaded. - if ! wget "https://raw.githubusercontent.com/$G_GITOWNER/DietPi/$G_GITBRANCH/dietpi/func/dietpi-globals"; then + if ! wget "https://raw.githubusercontent.com/$G_GITOWNER/DietPi/$G_GITBRANCH/dietpi/func/dietpi-globals" -O dietpi-globals; then echo -e 'Error: Unable to download dietpi-globals. Aborting...\n' exit 1