summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorDenys Vlasenko2010-09-16 15:46:20 +0200
committerDenys Vlasenko2010-09-16 15:46:20 +0200
commit0fdf2e1026bed831e3254843e27b0577c9908030 (patch)
treec8f340f5c8e5c029b0ad2d3d51e867ea3560e59a /applets
parent06a80bdbea6237257bd3de4919243cba57493b42 (diff)
downloadbusybox-0fdf2e1026bed831e3254843e27b0577c9908030.zip
busybox-0fdf2e1026bed831e3254843e27b0577c9908030.tar.gz
simpler check for od
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'applets')
-rwxr-xr-xapplets/usage_compressed3
1 files changed, 2 insertions, 1 deletions
diff --git a/applets/usage_compressed b/applets/usage_compressed
index 9436dcd..af66bc5 100755
--- a/applets/usage_compressed
+++ b/applets/usage_compressed
@@ -9,7 +9,8 @@ test -x "$loc/usage" || exit 1
test "$SED" || SED=sed
test "$DD" || DD=dd
-true | od -v -t x1 >/dev/null
+# Some people were bitten by their system lacking a (proper) od
+od -v -t x1 </dev/null >/dev/null
if test $? != 0; then
echo 'od tool is not installed or cannot accept "-v -t x1" options'
exit 1