start serial console on command, fix exit

This commit is contained in:
proddy
2024-09-09 14:37:29 +02:00
parent ee87ee8c34
commit b7703c46e6
3 changed files with 60 additions and 26 deletions

View File

@@ -85,11 +85,7 @@ void Shell::stop() {
blocking_data->stop_ = true;
} else {
#if defined(EMSESP_STANDALONE)
if (running()) {
#else
if (running() && !has_flags(CommandFlags::LOCAL)) { // do not close local shell
#endif
stopped_ = true;
stopped();
}