diff --git a/lsinitrd b/lsinitrd index 1d953b75..11e5c7a3 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