nsh: fix compile break about closing CONFIG_NSH_DISABLEBG
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
293b89af44
commit
16c9068d5f
@ -224,7 +224,7 @@ int nsh_builtin(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
|
||||
|
||||
#if !defined(CONFIG_SCHED_WAITPID) || !defined(CONFIG_NSH_DISABLEBG)
|
||||
{
|
||||
# ifdef CONFIG_SCHED_CHILD_STATUS
|
||||
#if !defined(CONFIG_NSH_DISABLEBG) && defined(CONFIG_SCHED_CHILD_STATUS)
|
||||
|
||||
/* Restore the old actions */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user