mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-26 15:39:08 +00:00
Merge branch 'indentation' into 'master'
mkinitramfs: indent code that writes the outfile See merge request kernel-team/initramfs-tools!106
This commit is contained in:
commit
2b31485260
16
mkinitramfs
16
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user