mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 11:23:07 +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:
@@ -339,7 +339,7 @@ int nsh_consolemain(int argc, char *argv[])
|
||||
|
||||
/* Execute the session */
|
||||
|
||||
nsh_session(pstate);
|
||||
nsh_session(pstate, true);
|
||||
|
||||
/* Switch to /dev/null because we probably no longer have a
|
||||
* valid console device.
|
||||
|
Reference in New Issue
Block a user