From: Denys Vlasenko Date: Thu, 16 Sep 2010 13:46:20 +0000 (+0200) Subject: simpler check for od X-Git-Tag: 1_18_0~202 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0fdf2e1026bed831e3254843e27b0577c9908030;p=oweals%2Fbusybox.git simpler check for od Signed-off-by: Denys Vlasenko --- diff --git a/applets/usage_compressed b/applets/usage_compressed index 9436dcd5d..af66bc5dc 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 if test $? != 0; then echo 'od tool is not installed or cannot accept "-v -t x1" options' exit 1