--- dracut | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dracut b/dracut index 5c1c4b4..1242f42 100755 --- a/dracut +++ b/dracut @@ -340,8 +340,8 @@ type hardlink &>/dev/null && { } [[ $compress = gzip* ]] && type pigz > /dev/null 2>&1 && compress="pigz -9" -( cd "$initdir"; find . |cpio -R 0:0 -H newc -o --quiet |$compress > "$outfile"; ) -if [ $? -ne 0 ]; then +if ! ( cd "$initdir"; find . |cpio -R 0:0 -H newc -o --quiet | \ + $compress > "$outfile"; ); then derror "dracut: creation of $outfile failed" exit 1 fi -- 1.7.2.1
-- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html