Redirect output to stdout

This commit is contained in:
Joshua Boniface 2021-12-12 01:17:25 -05:00
parent 32a9f7a9af
commit 4ccce61aab
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 if ! cmp --silent --bytes ${blockdev_size_bytes} /dev/zero ${target_disk}; then
echo "false." echo "false."
echo "Wiping block device '${target_disk}' (${count} blocks of ${size} bytes)..." 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 else
echo "done." echo "done."
fi fi