mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
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:
@@ -106,7 +106,7 @@ int nsh_consolemain(int argc, char *argv[])
|
||||
|
||||
/* Execute the session */
|
||||
|
||||
ret = nsh_session(pstate);
|
||||
ret = nsh_session(pstate, true);
|
||||
|
||||
/* Exit upon return */
|
||||
|
||||
|
Reference in New Issue
Block a user