mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Vars refactor: Replace disk_curr_size with DISK_CURR_SIZE
This commit is contained in:
parent
74718b2399
commit
bd987f55d2
1 changed files with 2 additions and 2 deletions
4
quickemu
4
quickemu
|
@ -160,8 +160,8 @@ function vm_boot() {
|
||||||
echo " Failed to get "write" lock. Is another process using the disk?"
|
echo " Failed to get "write" lock. Is another process using the disk?"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
disk_curr_size=$(stat -c%s "${disk_img}")
|
DISK_CURR_SIZE=$(stat -c%s "${disk_img}")
|
||||||
if [ ${disk_curr_size} -le ${DISK_MIN_SIZE} ]; then
|
if [ ${DISK_CURR_SIZE} -le ${DISK_MIN_SIZE} ]; then
|
||||||
echo " Looks unused, booting from ${iso}"
|
echo " Looks unused, booting from ${iso}"
|
||||||
if [ -z "${iso}" ]; then
|
if [ -z "${iso}" ]; then
|
||||||
echo "ERROR! You haven't specified a .iso image to boot from."
|
echo "ERROR! You haven't specified a .iso image to boot from."
|
||||||
|
|
Loading…
Reference in a new issue