Redirect dd to stdout instead of file '1'

Looks like a typo, that would have had mostly the intended effect.
This commit is contained in:
Eric Anderson
2021-10-02 11:41:06 -07:00
parent 336cc0077c
commit d9bfd77fba

View File

@@ -15,7 +15,7 @@ shift
trap "rm -f $srcfile $fluxfile $destfile" EXIT
dd if=/dev/urandom of=$srcfile bs=1M count=2 2>1
dd if=/dev/urandom of=$srcfile bs=1M count=2 2>&1
./fluxengine write $format -i $srcfile -d $fluxfile "$@"
./fluxengine read $format -s $fluxfile -o $destfile "$@"