mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35: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
|
esac
|
||||||
|
|
||||||
[[ "$DEBUG" == [Yy1]* ]] && echo "Found download link: $iso_download_link"
|
[[ "$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
|
# Follow redirect so proceeding log message is useful
|
||||||
# This is a request we make that Fido doesn't
|
# This is a request we make that Fido doesn't
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue