Browse Source

lsinitrd: silence xz test

master
Harald Hoyer 13 years ago
parent
commit
d20d307d69
  1. 2
      lsinitrd

2
lsinitrd

@ -36,7 +36,7 @@ image="${1:-/boot/initramfs-$(uname -r).img}" @@ -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


Loading…
Cancel
Save