From: Zbigniew Jędrzejewski-Szmek Date: Thu, 7 Dec 2017 11:42:06 +0000 (+0100) Subject: sulogin-shell: replace "^D" by "exit" X-Git-Tag: v236~37^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7570%2Fhead;p=thirdparty%2Fsystemd.git sulogin-shell: replace "^D" by "exit" ^D is a bit cryptic, and advanced users will know that they can use ^D instead of typing exit anyway. --- diff --git a/src/sulogin-shell/sulogin-shell.c b/src/sulogin-shell/sulogin-shell.c index 82bb0e7f681..70659df4170 100644 --- a/src/sulogin-shell/sulogin-shell.c +++ b/src/sulogin-shell/sulogin-shell.c @@ -103,8 +103,8 @@ static int fork_wait(const char* const cmdline[]) { static void print_mode(const char* mode) { printf("You are in %s mode. After logging in, type \"journalctl -xb\" to view\n" - "system logs, \"systemctl reboot\" to reboot, \"systemctl default\" or ^D to boot\n" - "into default mode.\n", mode); + "system logs, \"systemctl reboot\" to reboot, \"systemctl default\" or \"exit\"\n" + "to boot into default mode.\n", mode); fflush(stdout); }