nshlib: Add login argument to nsh_session for controling the login process

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-04-18 23:53:32 +08:00
committed by patacongo
parent 7b4d34e352
commit 9ab5e2ff45
6 changed files with 43 additions and 37 deletions

View File

@@ -317,7 +317,7 @@ int nsh_consolemain(int argc, char *argv[])
/* Execute the session */
nsh_session(pstate);
nsh_session(pstate, true);
/* We lost the connection. Wait for the keyboard to
* be re-connected.