From cb0151c061bfdeec2bc7a2fa7b7ef4ff0c1a0e09 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 13 Sep 2018 11:25:00 +0200 Subject: [PATCH] rootfsinstall.sh: fix for resume from script option --- src/rootfsinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rootfsinstall.sh b/src/rootfsinstall.sh index 0210f34..d439b78 100755 --- a/src/rootfsinstall.sh +++ b/src/rootfsinstall.sh @@ -255,7 +255,7 @@ if [ ! "${IMAGEMODE}" ]; then fi echo -[ "$ASSUMEYES" ] || { +[ "$ASSUMEYES" -o "$FROMSCRIPTS" ] || { echo -n "All current data in ${DRIVE} will be lost, do you want to proceed [y/N]?" read ans [ "$ans" = "y" -o "$ans" = "Y" ] || exit 1