diff --git a/scripts/opt/raspberrypi-ua-netinst/install.sh b/scripts/opt/raspberrypi-ua-netinst/install.sh index 18a58fcc..e1584aa4 100644 --- a/scripts/opt/raspberrypi-ua-netinst/install.sh +++ b/scripts/opt/raspberrypi-ua-netinst/install.sh @@ -1521,8 +1521,13 @@ if [ "${kernel_module}" = true ]; then fi fi + echo -n "Initializing / as ${rootfstype}... " -eval mkfs."${rootfstype}" "${rootfs_mkfs_options}" "${rootpartition}" || fail +eval mkfs."${rootfstype}" "${rootfs_mkfs_options}" "${rootpartition}" | sed 's/^/ /' +if [ "${PIPESTATUS[0]}" -ne 0 ]; then + fail +fi + echo "OK" echo -n "Mounting new filesystems... "