mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 11:25:49 +00:00
feat: Check returned link
Add error handling for empty download link.
This commit is contained in:
parent
2983b2b677
commit
3482eea892
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue