summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKees Cook <kees@debian.org>2009-02-15 09:56:42 -0800
committermaximilian attems <maks@debian.org>2009-02-15 19:52:10 +0100
commit8d21dcff7cef34c4f9a854deebdabb02503a3dae (patch)
tree2d1d625152bc022810479eba1155eae81461f11d /scripts
parent7d28901223a8f5fa47ddb0b0d39b34b04d43b8e9 (diff)
downloadinitramfs-tools-8d21dcff7cef34c4f9a854deebdabb02503a3dae.tar.gz
initramfs-tools-8d21dcff7cef34c4f9a854deebdabb02503a3dae.zip
mkinitramfs: Do not pass exit code through on pipe failure
Since "exit 2" has a special meaning, we must "exit 1" when the find/cpio/gzip pipe fails, otherwise "update-initramfs" will potentially ignore failures (it ignores return code "2" from mkinitramfs). Signed-off-by: Kees Cook <kees@debian.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions