rootfsinstall.sh: fix for resume from script option

This commit is contained in:
Silvan Calarco 2018-09-13 11:25:00 +02:00
parent bffa688557
commit cb0151c061

View File

@ -255,7 +255,7 @@ if [ ! "${IMAGEMODE}" ]; then
fi fi
echo echo
[ "$ASSUMEYES" ] || { [ "$ASSUMEYES" -o "$FROMSCRIPTS" ] || {
echo -n "All current data in ${DRIVE} will be lost, do you want to proceed [y/N]?" echo -n "All current data in ${DRIVE} will be lost, do you want to proceed [y/N]?"
read ans read ans
[ "$ans" = "y" -o "$ans" = "Y" ] || exit 1 [ "$ans" = "y" -o "$ans" = "Y" ] || exit 1