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:
patacongo
2011-03-26 01:04:10 +00:00
parent 40174767c9
commit fbd30de285
4 changed files with 77 additions and 38 deletions

View File

@@ -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