]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sulogin-shell: replace "^D" by "exit" 7570/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 7 Dec 2017 11:42:06 +0000 (12:42 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 7 Dec 2017 11:42:06 +0000 (12:42 +0100)
^D is a bit cryptic, and advanced users will know that they can use ^D instead
of typing exit anyway.

src/sulogin-shell/sulogin-shell.c

index 82bb0e7f681ad0f5ad68adde50cb4b6235e933cb..70659df4170a57bf26361b456be77ca830d920d6 100644 (file)
@@ -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);
 }