fix: Display QEMU output (#558)

This commit is contained in:
Kroese
2024-01-13 18:16:17 +01:00
committed by GitHub
parent a3d6e3740c
commit 3a507f5bf6
4 changed files with 25 additions and 19 deletions

View File

@@ -83,7 +83,7 @@ isCow() {
if [[ "${FS,,}" == "xfs" || "${FS,,}" == "zfs" || "${FS,,}" == "btrfs" || "${FS,,}" == "bcachefs" ]]; then
return 0
fi
return 1
}
@@ -126,7 +126,7 @@ createDisk() {
fi
if [[ "$ALLOCATE" == [Nn]* ]]; then
# Create an empty file
if ! truncate -s "$DATA_SIZE" "$DISK_FILE"; then
rm -f "$DISK_FILE"