diff --git a/export-image/04-finalise/01-run.sh b/export-image/04-finalise/01-run.sh index 2a84173..c33de6d 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}"