diff --git a/nshlib/nsh.h b/nshlib/nsh.h index 0231ef510..9ca6b009f 100644 --- a/nshlib/nsh.h +++ b/nshlib/nsh.h @@ -697,7 +697,8 @@ #endif #if defined(CONFIG_DISABLE_ENVIRON) && defined(CONFIG_NSH_DISABLESCRIPT) -# define CONFIG_NSH_DISABLE_SET +# undef CONFIG_NSH_DISABLE_SET +# define CONFIG_NSH_DISABLE_SET 1 #endif /****************************************************************************