Don't hide cursor when shutting down

Users starting Finit based systems using U-Boot or Barebox may otherwise
not get a visible cursor at their prompt.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2026-02-10 15:58:46 +01:00
parent 266f1132a4
commit 7090321ff3
-3
View File
@@ -361,9 +361,6 @@ restart:
/* Restore terse mode and run hooks before shutdown */
if (runlevel == 0 || runlevel == 6) {
/* Hide cursor, we're going down ... */
dprint(STDOUT_FILENO, "\033[?25l", 6);
api_exit();
log_exit();
plugin_run_hooks(HOOK_SHUTDOWN);