mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
Incorporate changes from Uros Platise
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3419 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -107,8 +107,15 @@ int nsh_execapp(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
|
||||
nsh_output(vtbl, "%s ", name);
|
||||
}
|
||||
nsh_output(vtbl, "\nand type 'help' for more NSH commands.\n\n");
|
||||
|
||||
/* If the failing command was '?', then do not report an error */
|
||||
|
||||
return err;
|
||||
if (strcmp(cmd, "?") != 0)
|
||||
{
|
||||
return err;
|
||||
}
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SCHED_WAITPID
|
||||
|
Reference in New Issue
Block a user