diff options
author | Denys Vlasenko | 2010-09-16 15:46:20 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-09-16 15:46:20 +0200 |
commit | 0fdf2e1026bed831e3254843e27b0577c9908030 (patch) | |
tree | c8f340f5c8e5c029b0ad2d3d51e867ea3560e59a /applets/usage_compressed | |
parent | 06a80bdbea6237257bd3de4919243cba57493b42 (diff) | |
download | busybox-0fdf2e1026bed831e3254843e27b0577c9908030.zip busybox-0fdf2e1026bed831e3254843e27b0577c9908030.tar.gz |
simpler check for od
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'applets/usage_compressed')
-rwxr-xr-x | applets/usage_compressed | 3 |
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 |