aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorGravatar Rob Landley <rob@landley.net>2006-09-15 04:10:05 +0000
committerGravatar Rob Landley <rob@landley.net>2006-09-15 04:10:05 +0000
commit215c61d3c2830113479ce008d9c1d7e3978ad9c1 (patch)
treef5cf226a1a75c3b6e7a7108038421da1ef7030c3 /shell
parentf5fc1384e97eb11bf1f0e61308554da5883209d2 (diff)
downloadbusybox-215c61d3c2830113479ce008d9c1d7e3978ad9c1.tar.gz
busybox-215c61d3c2830113479ce008d9c1d7e3978ad9c1.tar.bz2
Unbreak allbareconfig.
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 230b0fb69..cea1d3c60 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -2664,11 +2664,8 @@ int hush_main(int argc, char **argv)
/* Initialize some more globals to non-zero values */
set_cwd();
-#ifdef CONFIG_FEATURE_COMMAND_EDITING
- cmdedit_set_initial_prompt();
-#else
- PS1 = NULL;
-#endif
+ if (ENABLE_FEATURE_COMMAND_EDITING) cmdedit_set_initial_prompt();
+ else PS1 = NULL;
PS2 = "> ";
/* initialize our shell local variables with the values