diff --git a/tools/shell/src/shellEngine.c b/tools/shell/src/shellEngine.c index 3a96bec451..066b3a0156 100644 --- a/tools/shell/src/shellEngine.c +++ b/tools/shell/src/shellEngine.c @@ -1060,6 +1060,7 @@ int32_t shellExecute() { } #endif + shellSetConn(shell.conn); shellReadHistory(); if (pArgs->commands != NULL || pArgs->file[0] != 0) {