From 0193f37946642a4f4f49bb78659653eb870e46a7 Mon Sep 17 00:00:00 2001 From: James Swineson Date: Tue, 9 Apr 2019 15:59:46 +0800 Subject: [PATCH] wget resume after failure --- menhera.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menhera.sh b/menhera.sh index fca7779..dcb95d0 100755 --- a/menhera.sh +++ b/menhera.sh @@ -49,7 +49,7 @@ prepare_environment() { mkdir -p "${WORKDIR}/overlayfs_workdir" echo "Downloading temporary rootfs..." - wget "${ROOTFS}" -O "${WORKDIR}/rootfs.squashfs" + wget -c "${ROOTFS}" -O "${WORKDIR}/rootfs.squashfs" } mount_new_rootfs() {