Follow-up to 702a606, too long string to hide cursor

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2025-12-31 23:29:27 +01:00
parent d16bfa789b
commit 0dc2513b32
+1 -1
View File
@@ -362,7 +362,7 @@ 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", 14);
dprint(STDOUT_FILENO, "\033[?25l", 6);
api_exit();
log_exit();