apps/nshlib/nsh_parse.c: Ensure /bin/ping and ping work at the same time. Don't skip nsh_builtin even CONFIG_NSH_FILE_APPS or CONFIG_FS_BINFS equal y.

This commit is contained in:
Gregory Nutt 2019-12-10 08:40:29 -06:00
parent 3da8091d30
commit 77a3b08302

View File

@ -545,7 +545,7 @@ static int nsh_execute(FAR struct nsh_vtbl_s *vtbl,
* Note the priority if not effected by nice-ness. * Note the priority if not effected by nice-ness.
*/ */
#if defined(CONFIG_NSH_BUILTIN_APPS) && (!defined(CONFIG_NSH_FILE_APPS) || !defined(CONFIG_FS_BINFS)) #ifdef CONFIG_NSH_BUILTIN_APPS
#if CONFIG_NFILE_STREAMS > 0 #if CONFIG_NFILE_STREAMS > 0
ret = nsh_builtin(vtbl, argv[0], argv, redirfile, oflags); ret = nsh_builtin(vtbl, argv[0], argv, redirfile, oflags);
#else #else