mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
start serial console on command, fix exit
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user