do not close local shell #1926

This commit is contained in:
MichaelDvP
2024-08-06 14:17:53 +02:00
parent 0e8655862e
commit 0105338e29
3 changed files with 3 additions and 3 deletions

View File

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