From 54627040feb6299b9384ec1c0a4fa7fb5b5e3138 Mon Sep 17 00:00:00 2001 From: landley Date: Fri, 15 Sep 2006 04:10:05 +0000 Subject: Unbreak allbareconfig. git-svn-id: svn://busybox.net/trunk/busybox@16127 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/hush.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'shell') 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 -- cgit v1.2.3-55-g6feb