mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 03:45:48 +00:00
fix: Verify files are not empty
This commit is contained in:
parent
68d02a6979
commit
793e558949
1 changed files with 2 additions and 1 deletions
|
|
@ -1080,7 +1080,8 @@ if ! startInstall; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f "$ISO" ]; then
|
if [ ! -s "$ISO" ]; then
|
||||||
|
rm -f "$ISO"
|
||||||
if ! downloadImage "$ISO" "$VERSION"; then
|
if ! downloadImage "$ISO" "$VERSION"; then
|
||||||
error "Failed to download $VERSION"
|
error "Failed to download $VERSION"
|
||||||
exit 61
|
exit 61
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue