diff --git a/home.admin/_bootstrap.sh b/home.admin/_bootstrap.sh index 5db0f5c11..a65e03686 100644 --- a/home.admin/_bootstrap.sh +++ b/home.admin/_bootstrap.sh @@ -272,7 +272,7 @@ fi ################################ recoveredInfoExists=$(ls /home/admin/raspiblitz.recover.info | grep -c '.info') -if [ ${configExists} -eq 1 ]; then +if [ ${recoveredInfoExists} -eq 1 ]; then sed -i "s/^state=.*/state=recovered/g" ${infoFile} sed -i "s/^message=.*/message='login to finish'/g" ${infoFile} exit 0