summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmkinitcpio1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkinitcpio b/mkinitcpio
index c2565f5..2397776 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -277,6 +277,7 @@ fi
status=0
if [ -n "${GENIMG}" ]; then
echo -n ":: Generating image '${GENIMG}'..."
+ shopt -s -o pipefail
if ! /sbin/gen_init_cpio ${FILELIST} | ${COMPRESSION} -9 > "${GENIMG}"; then
echo "FAILED"
status=1