File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 51
51
52
52
cd /run/initramfs
53
53
54
- if $SKIP " $IMG " | zcat | cpio -id --no-absolute-filenames --quiet > /dev/null; then
55
- rm -f -- .need_shutdown
56
- elif $SKIP " $IMG " | xzcat | cpio -id --no-absolute-filenames --quiet > /dev/null; then
57
- rm -f -- .need_shutdown
58
- elif $SKIP " $IMG " | lz4 -d -c | cpio -id --no-absolute-filenames --quiet > /dev/null; then
59
- rm -f -- .need_shutdown
60
- elif $SKIP " $IMG " | zstd -d -c | cpio -id --no-absolute-filenames --quiet > /dev/null; then
54
+ if $SKIP " $IMG " | cpio -id --no-absolute-filenames --quiet > /dev/null \
55
+ || $SKIP " $IMG " | zcat | cpio -id --no-absolute-filenames --quiet > /dev/null \
56
+ || $SKIP " $IMG " | bzcat | cpio -id --no-absolute-filenames --quiet > /dev/null \
57
+ || $SKIP " $IMG " | xzcat | cpio -id --no-absolute-filenames --quiet > /dev/null \
58
+ || $SKIP " $IMG " | lz4 -d -c | cpio -id --no-absolute-filenames --quiet > /dev/null \
59
+ || $SKIP " $IMG " | lzop -d -c | cpio -id --no-absolute-filenames --quiet > /dev/null \
60
+ || $SKIP " $IMG " | zstd -d -c | cpio -id --no-absolute-filenames --quiet > /dev/null; then
61
61
rm -f -- .need_shutdown
62
62
else
63
63
# something failed, so we clean up
You can’t perform that action at this time.
0 commit comments