diff --git a/files/initrd/opt/arc/arc.sh b/files/initrd/opt/arc/arc.sh index 54985625..85ca07bd 100755 --- a/files/initrd/opt/arc/arc.sh +++ b/files/initrd/opt/arc/arc.sh @@ -376,7 +376,8 @@ function arcVersion() { VALID="true" elif curl --interface ${ARCNIC} -skL "${DSM_URL}" -o "${DSM_FILE}"; then VALID="true" - else + fi + if [ ! -f "${DSM_FILE}" ]; then dialog --backtitle "$(backtitle)" --title "DSM Download" --aspect 18 \ --infobox "No DSM Image found!\nTry to get .pat from Syno." 4 40 sleep 5