mirror of
https://github.com/dockur/windows.git
synced 2025-12-21 14:41:49 +00:00
feat: Check returned link
Add error handling for empty download link.
This commit is contained in:
parent
2983b2b677
commit
3482eea892
@ -297,6 +297,7 @@ download_windows_eval() {
|
||||
esac
|
||||
|
||||
[[ "$DEBUG" == [Yy1]* ]] && echo "Found download link: $iso_download_link"
|
||||
[ -z "$iso_download_link" ] && error "Could not parse download link from page!" && return 1
|
||||
|
||||
# Follow redirect so proceeding log message is useful
|
||||
# This is a request we make that Fido doesn't
|
||||
|
||||
Loading…
Reference in New Issue
Block a user