Skip to content

Commit

Permalink
[busybox] Store history after every line. Fixes JB#53061
Browse files Browse the repository at this point in the history
When busybox is killed using SIGHUP it doesn't save out the history
file. This change configures busybox to save the history out after each
line, rather than on exit, so that exiting with SIGHUP (as Fingerterm
does) won't cause the history to be lost.
  • Loading branch information
llewelld committed Feb 9, 2021
1 parent e1fc2ac commit 83a107e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/busybox-sailfish.config
Expand Up @@ -101,7 +101,7 @@ CONFIG_FEATURE_EDITING_MAX_LEN=1024
# CONFIG_FEATURE_EDITING_VI is not set
CONFIG_FEATURE_EDITING_HISTORY=255
CONFIG_FEATURE_EDITING_SAVEHISTORY=y
CONFIG_FEATURE_EDITING_SAVE_ON_EXIT=y
CONFIG_FEATURE_EDITING_SAVE_ON_EXIT=n
CONFIG_FEATURE_REVERSE_SEARCH=y
CONFIG_FEATURE_TAB_COMPLETION=y
CONFIG_FEATURE_USERNAME_COMPLETION=y
Expand Down

0 comments on commit 83a107e

Please sign in to comment.