From 0e01e7f639ddf3fd0e9ecd8ce811e791b3622b6d Mon Sep 17 00:00:00 2001 From: Ari Sundholm Date: Mon, 29 Sep 2014 12:59:45 +1000 Subject: [PATCH] common: redirect dd stderr to stdout. So that the checks work correctly on BusyBox systems. Signed-off-by: Ari Sundholm Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- common/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rc b/common/rc index d49137c2..34d7c19b 100644 --- a/common/rc +++ b/common/rc @@ -44,7 +44,7 @@ dd() { if [ "$HOSTOS" == "Linux" ] then - command dd --help | grep noxfer > /dev/null 2>&1 + command dd --help 2>&1 | grep noxfer >/dev/null if [ "$?" -eq 0 ] then -- 2.30.2