apps/nshlib: Fix an incorrect usage of a configuration variable in a previous commit.

This commit is contained in:
Gregory Nutt
2018-10-01 15:44:41 -06:00
parent 23b32baf98
commit ee01445aa2
3 changed files with 19 additions and 9 deletions

View File

@@ -470,7 +470,7 @@ int cmd_unset(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
* Name: cmd_export
****************************************************************************/
#ifndef CONFIG_NSH_DISABLE_UNSET
#ifndef CONFIG_NSH_DISABLE_EXPORT
int cmd_export(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
{
FAR const char *value = "";