diff --git a/reinstall-esp-idf.sh b/reinstall-esp-idf.sh index 267b91e..cffb259 100644 --- a/reinstall-esp-idf.sh +++ b/reinstall-esp-idf.sh @@ -389,6 +389,7 @@ function handleLogoutAllUsers() { function handleCheckEspIdf() { if [ ! -z $IDF_PYTHON_ENV_PATH ]; then writeToLog "FAIL: Sanity check failed!\n\tesp-idf environment varibles found!\n\tPelase run from a fresh termnal that has not had get_idf ran!\n" + exit else writeToLog "Sanity check: Environment correct\n\tNo esp-idf environment variables found, proceeding\n" fi