mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +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
|
||||
fi
|
||||
|
||||
if [ ! -f "$ISO" ]; then
|
||||
if [ ! -s "$ISO" ]; then
|
||||
rm -f "$ISO"
|
||||
if ! downloadImage "$ISO" "$VERSION"; then
|
||||
error "Failed to download $VERSION"
|
||||
exit 61
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue