aboutsummaryrefslogtreecommitdiff
path: root/shell/msh.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/msh.c')
-rw-r--r--shell/msh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/msh.c b/shell/msh.c
index 23a7c0498..0337a4f06 100644
--- a/shell/msh.c
+++ b/shell/msh.c
@@ -37,7 +37,7 @@
37# define DEFAULT_SHELL "/proc/self/exe" 37# define DEFAULT_SHELL "/proc/self/exe"
38# define CONFIG_BUSYBOX_EXEC_PATH "/proc/self/exe" 38# define CONFIG_BUSYBOX_EXEC_PATH "/proc/self/exe"
39# define BB_BANNER "busybox standalone" 39# define BB_BANNER "busybox standalone"
40# define ENABLE_FEATURE_SH_STANDALONE_SHELL 0 40# define ENABLE_FEATURE_SH_STANDALONE 0
41# define bb_msg_memory_exhausted "memory exhausted" 41# define bb_msg_memory_exhausted "memory exhausted"
42# define xmalloc(size) malloc(size) 42# define xmalloc(size) malloc(size)
43# define msh_main(argc,argv) main(argc,argv) 43# define msh_main(argc,argv) main(argc,argv)
@@ -3064,7 +3064,7 @@ static const char *rexecve(char *c, char **v, char **envp)
3064 int eacces = 0, asis = 0; 3064 int eacces = 0, asis = 0;
3065 char *name = c; 3065 char *name = c;
3066 3066
3067 if (ENABLE_FEATURE_SH_STANDALONE_SHELL) { 3067 if (ENABLE_FEATURE_SH_STANDALONE) {
3068 optind = 1; 3068 optind = 1;
3069 if (find_applet_by_name(name)) { 3069 if (find_applet_by_name(name)) {
3070 /* We have to exec here since we vforked. Running 3070 /* We have to exec here since we vforked. Running
@@ -3195,7 +3195,7 @@ static int dohelp(struct op *t)
3195 } 3195 }
3196 x++; 3196 x++;
3197 } 3197 }
3198#if ENABLE_FEATURE_SH_STANDALONE_SHELL 3198#if ENABLE_FEATURE_SH_STANDALONE
3199 { 3199 {
3200 const struct bb_applet *applet = applets; 3200 const struct bb_applet *applet = applets;
3201 3201