Make sure to use gdd (GNU dd) if detected
This commit is contained in:
parent
f0eaa4c250
commit
a3db271bc9
2
nench.sh
2
nench.sh
@ -48,7 +48,7 @@ command_benchmark()
|
|||||||
|
|
||||||
if command_exists "$1"
|
if command_exists "$1"
|
||||||
then
|
then
|
||||||
time dd if=/dev/zero bs=1M count=500 2> /dev/null | \
|
time "$gnu_dd" if=/dev/zero bs=1M count=500 2> /dev/null | \
|
||||||
"$@" > /dev/null
|
"$@" > /dev/null
|
||||||
else
|
else
|
||||||
if [ "$QUIET" -ne 1 ]
|
if [ "$QUIET" -ne 1 ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user