common: redirect dd stderr to stdout.

So that the checks work correctly on BusyBox systems.

Signed-off-by: Ari Sundholm <ari@tuxera.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Ari Sundholm
2014-09-29 12:59:45 +10:00
committed by Dave Chinner
parent cac7b427a8
commit 0e01e7f639
+1 -1
View File
@@ -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