Skip to content

Commit 7090321

Browse files
committed
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>
1 parent 266f113 commit 7090321

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/sm.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,6 @@ void sm_step(void)
361361

362362
/* Restore terse mode and run hooks before shutdown */
363363
if (runlevel == 0 || runlevel == 6) {
364-
/* Hide cursor, we're going down ... */
365-
dprint(STDOUT_FILENO, "\033[?25l", 6);
366-
367364
api_exit();
368365
log_exit();
369366
plugin_run_hooks(HOOK_SHUTDOWN);

0 commit comments

Comments
 (0)