From 3e2248684059b9d62285647c7baf5aa8f5d01b98 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 19 Apr 2023 20:22:13 +0200 Subject: [PATCH] Wrong var --- run/disk.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run/disk.sh b/run/disk.sh index 1e82b8a..3c95b80 100644 --- a/run/disk.sh +++ b/run/disk.sh @@ -42,7 +42,7 @@ if [ -f "${DATA}" ]; then if (( REQ > SPACE )); then echo "ERROR: Not enough free space to resize virtual disk to ${DISK_SIZE}." - echo "ERROR: Specify a smaller size or disable preallocation with ALLOCATION=N." && exit 84 + echo "ERROR: Specify a smaller size or disable preallocation with ALLOCATE=N." && exit 84 fi if ! fallocate -l "${DATA_SIZE}" "${DATA}"; then @@ -85,7 +85,7 @@ if [ ! -f "${DATA}" ]; then if (( DATA_SIZE > SPACE )); then echo "ERROR: Not enough free space to create a virtual disk of ${DISK_SIZE}." - echo "ERROR: Specify a smaller size or disable preallocation with ALLOCATION=N." && exit 86 + echo "ERROR: Specify a smaller size or disable preallocation with ALLOCATE=N." && exit 86 fi if ! fallocate -l "${DATA_SIZE}" "${DATA}"; then