Fix detection of install.wim > 4GiB

This commit is contained in:
ValdikSS 2018-05-07 19:23:56 +03:00
parent 618f507a0a
commit 208609e09c
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ function format_drive() {
}
function check_installwim_gt4gib() {
7z l "$1" | awk '($6 ~ /install.wim/) {if ($4 > 429496296) {exit 1}; exit}'
7z l "$1" | awk '($6 ~ /install.wim/) {if ($4 > 4294967296) {exit 0}; exit 1}'
}
function create_partitions() {