| Summary: | vps-create: missing value check | ||
|---|---|---|---|
| Product: | Branch 4.0 | Reporter: | Michael Shigorin <mike> |
| Component: | vzctl | Assignee: | Dmitry V. Levin <ldv> |
| Status: | CLOSED WONTFIX | QA Contact: | Q.A. 4.0 <qa-4.0> |
| Severity: | normal | ||
| Priority: | P2 | CC: | dubrsl |
| Version: | 4.0 | ||
| Hardware: | all | ||
| OS: | Linux | ||
Версия vzctl какая? На vzctl-3.0.22-alt3 воспроизводится или нет? vzctl from Sisyphus is not affected by this issue. Cool. Is it reasonable to backport it? закрываю. 4.0 у меня нет и бэкпортировать желания нет. |
/usr/share/vzctl/scripts/vps-create: line 51: [: : integer expression expected sh -x reveals this: + TMP='Filesystem 1024-blocks Used Available Capacity Mounted on /dev/sda3 138528232 33298668 103833276 25% /var/lib/vz' ++ echo 'Filesystem 1024-blocks Used Available Capacity Mounted on /dev/sda3 138528232 33298668 103833276 25% /var/lib/vz' ++ awk 'END{print $4}' + AVAIL=103833276 + '[' ' 63 70' = ' 1f 8b' ']' ++ find /var/lib/vz/template/cache/altlinux-2.4-squirrel.tar -maxdepth 0 -path '' -printf %k + NEEDED= + OPT= + '[' 103833276 -lt '' ']' /usr/share/vzctl/scripts/vps-create: line 51: [: : integer expression expected