diff --git a/mkinitramfs b/mkinitramfs index a5a6470..63716ba 100755 --- a/mkinitramfs +++ b/mkinitramfs @@ -500,16 +500,16 @@ fi } 3>&1 | { read -r exit_code; exit "${exit_code:-0}"; } || exit $? { -if [ -s "${__TMPEARLYCPIO}" ]; then - cat "${__TMPEARLYCPIO}" || exit 1 -fi + if [ -s "${__TMPEARLYCPIO}" ]; then + cat "${__TMPEARLYCPIO}" || exit 1 + fi -$compress -c "${__TMPMAINCPIO}" || - { echo "E: mkinitramfs failure $compress $?" >&2; exit 1; } + $compress -c "${__TMPMAINCPIO}" || + { echo "E: mkinitramfs failure $compress $?" >&2; exit 1; } -if [ -s "${__TMPCPIOGZ}" ]; then - cat "${__TMPCPIOGZ}" || exit 1 -fi + if [ -s "${__TMPCPIOGZ}" ]; then + cat "${__TMPCPIOGZ}" || exit 1 + fi } >"${outfile}" || exit 1 exit 0