diff options
-rw-r--r-- | shell/hush.c | 7 |
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) | |||
2664 | 2664 | ||
2665 | /* Initialize some more globals to non-zero values */ | 2665 | /* Initialize some more globals to non-zero values */ |
2666 | set_cwd(); | 2666 | set_cwd(); |
2667 | #ifdef CONFIG_FEATURE_COMMAND_EDITING | 2667 | if (ENABLE_FEATURE_COMMAND_EDITING) cmdedit_set_initial_prompt(); |
2668 | cmdedit_set_initial_prompt(); | 2668 | else PS1 = NULL; |
2669 | #else | ||
2670 | PS1 = NULL; | ||
2671 | #endif | ||
2672 | PS2 = "> "; | 2669 | PS2 = "> "; |
2673 | 2670 | ||
2674 | /* initialize our shell local variables with the values | 2671 | /* initialize our shell local variables with the values |