From a3db271bc99f6d871e4eaf99c8c6af8e8a42c8a8 Mon Sep 17 00:00:00 2001 From: Nils Steinger Date: Sun, 28 May 2017 11:16:52 +0200 Subject: [PATCH] Make sure to use gdd (GNU dd) if detected --- nench.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nench.sh b/nench.sh index 6333d88..56ccb0e 100755 --- a/nench.sh +++ b/nench.sh @@ -48,7 +48,7 @@ command_benchmark() if command_exists "$1" 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 else if [ "$QUIET" -ne 1 ]