diff options
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c index a11b1d6..2a4c839 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -13824,8 +13824,7 @@ helpcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) static int FAST_FUNC historycmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) { - if (line_input_state) - show_history(line_input_state); + show_history(line_input_state); return EXIT_SUCCESS; } #endif |