From 77a3b083025ec3392b39aec5893c19f5d1940077 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 10 Dec 2019 08:40:29 -0600 Subject: [PATCH] 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. --- nshlib/nsh_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nshlib/nsh_parse.c b/nshlib/nsh_parse.c index 005b3aed7..506f42559 100644 --- a/nshlib/nsh_parse.c +++ b/nshlib/nsh_parse.c @@ -545,7 +545,7 @@ static int nsh_execute(FAR struct nsh_vtbl_s *vtbl, * 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 ret = nsh_builtin(vtbl, argv[0], argv, redirfile, oflags); #else