aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 0a92f5da7..cab7ea5b0 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -10461,8 +10461,7 @@ static int FAST_FUNC builtin_help(char **argv UNUSED_PARAM)
10461#if MAX_HISTORY && ENABLE_FEATURE_EDITING 10461#if MAX_HISTORY && ENABLE_FEATURE_EDITING
10462static int FAST_FUNC builtin_history(char **argv UNUSED_PARAM) 10462static int FAST_FUNC builtin_history(char **argv UNUSED_PARAM)
10463{ 10463{
10464 if (G.line_input_state) 10464 show_history(G.line_input_state);
10465 show_history(G.line_input_state);
10466 return EXIT_SUCCESS; 10465 return EXIT_SUCCESS;
10467} 10466}
10468#endif 10467#endif