Redirect output to stdout
This commit is contained in:
parent
32a9f7a9af
commit
4ccce61aab
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue