]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: Use "Ctrl-" rather than "^" in info msg
authorPhaedrus Leeds <mwleeds@protonmail.com>
Wed, 30 Nov 2022 17:42:57 +0000 (09:42 -0800)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 1 Dec 2022 23:28:04 +0000 (08:28 +0900)
Maybe most people know that "^]" means "Ctrl + ]" but for those that
don't, this should be more clear.

src/nspawn/nspawn.c

index f86222d1cc6ae2b4dd2ac82bd431a94d33366619..ea425f009ede197dbdab8f25c7fe29a763915df6 100644 (file)
@@ -5800,7 +5800,7 @@ static int run(int argc, char *argv[]) {
                 arg_quiet = true;
 
         if (!arg_quiet)
-                log_info("Spawning container %s on %s.\nPress ^] three times within 1s to kill container.",
+                log_info("Spawning container %s on %s.\nPress Ctrl-] three times within 1s to kill container.",
                          arg_machine, arg_image ?: arg_directory);
 
         assert_se(sigprocmask_many(SIG_BLOCK, NULL, SIGCHLD, SIGWINCH, SIGTERM, SIGINT, -1) >= 0);