diff options
Diffstat (limited to 'builtins/history.def')
-rw-r--r-- | builtins/history.def | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/builtins/history.def b/builtins/history.def index 07c08f3..1ea3489 100644 --- a/builtins/history.def +++ b/builtins/history.def @@ -157,7 +157,7 @@ history_builtin (list) else if (flags & PFLAG) { if (list) - return (expand_and_print_history (list)); + return (expand_and_print_history (list)); return (EXECUTION_SUCCESS); } #endif @@ -326,10 +326,10 @@ expand_and_print_history (list) result = EXECUTION_FAILURE; } else - { + { fputs (s, stdout); putchar ('\n'); - } + } FREE (s); list = list->next; } |