diff mbox

[v2,1/2] common/rc: remove unnecessary cat in _ddt

Message ID 7e55bbd20c8e6515e0b76b1ee4c348fb6066c502.1487314416.git.osandov@fb.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Omar Sandoval Feb. 17, 2017, 6:54 a.m. UTC
From: Omar Sandoval <osandov@fb.com>

Signed-off-by: Omar Sandoval <osandov@fb.com>
---
Identical to v1

 common/rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/common/rc b/common/rc
index 76515e2b..6304d690 100644
--- a/common/rc
+++ b/common/rc
@@ -2417,7 +2417,7 @@  _die()
 # convert urandom incompressible data to compressible text data
 _ddt()
 {
-	cat /dev/urandom | od | dd iflag=fullblock ${*}
+	od /dev/urandom | dd iflag=fullblock ${*}
 }
 
 #takes files, randomdata