diff --git a/export-image/04-finalise/01-run.sh b/export-image/04-finalise/01-run.sh index 2a841735af..c33de6dec4 100755 --- a/export-image/04-finalise/01-run.sh +++ b/export-image/04-finalise/01-run.sh @@ -68,7 +68,7 @@ cp "$ROOTFS_DIR/etc/rpi-issue" "$INFO_FILE" ROOT_DEV="$(mount | grep "${ROOTFS_DIR} " | cut -f1 -d' ')" unmount "${ROOTFS_DIR}" -zerofree -v "${ROOT_DEV}" +zerofree "${ROOT_DEV}" unmount_image "${IMG_FILE}"