[PATCH 1/4] common/rc: dd(): Correctly redirect stderr to stdout.

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



From: Ari Sundholm <ari@xxxxxxxxxx>

Signed-off-by: Ari Sundholm <ari@xxxxxxxxxx>
---
 common/rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/rc b/common/rc
index a5a0d29..88a9d5b 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.1.0



--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux