Redirect output to stdout

This commit is contained in:
Joshua Boniface 2023-09-01 15:41:57 -04:00
parent e6aa738a7d
commit cf42c366e0
1 changed files with 1 additions and 1 deletions

View File

@ -519,7 +519,7 @@ blockcheck() {
if ! cmp --silent --bytes ${blockdev_size_bytes} /dev/zero ${target_disk}; then
echo "false."
echo "Wiping block device '${target_disk}' (${count} blocks of ${size} bytes)..."
dd if=/dev/zero of=${target_disk} bs=${size} count=${count} oflag=direct status=progress
dd if=/dev/zero of=${target_disk} bs=${size} count=${count} oflag=direct status=progress 2>&1
else
echo "done."
fi