[Bug 257495] sh shell does not save history after reboot

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 05 Aug 2021 17:42:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257495

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marklmi26-fbsd@yahoo.com

--- Comment #7 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Piotr Pawel Stefaniak from comment #6)

That commit reports:

QUOTE
sh: implement persistent history storage
Implement persistent history storage:
the strategy is simple at start: loads the existing .sh_history file
at exit dump it.
. . .
END QUOTE

Does the shell in which something like a "shutdown -r now"
is typed cleanly "exit" so that the .sh_history file (or
other file if controlled) is reliably updated? What about
other shell's for possibly other logged-in accounts at the
time of such a reboot?

I'm not so sure that this bugzilla entry should be in the
"closed FIXED" state, even for main [So: 14].

-- 
You are receiving this mail because:
You are the assignee for the bug.