From: Harald Hoyer Date: Thu, 9 Feb 2012 10:36:21 +0000 (+0100) Subject: lsinitrd: silence xz test X-Git-Tag: 016~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d20d307d697811f28fbd74111238c43740697226;p=thirdparty%2Fdracut.git lsinitrd: silence xz test --- diff --git a/lsinitrd b/lsinitrd index 1d953b758..11e5c7a32 100755 --- a/lsinitrd +++ b/lsinitrd @@ -36,7 +36,7 @@ image="${1:-/boot/initramfs-$(uname -r).img}" CAT=zcat FILE_T=$(file "$image") -if echo "test"|xz|xz -dc --single-stream; then +if echo "test"|xz|xz -dc --single-stream >/dev/null 2>&1; then XZ_SINGLE_STREAM="--single-stream" fi