From c4bad3d100aeb6867d3f7930186654739ffeccd4 Mon Sep 17 00:00:00 2001 From: Andrea Righi Date: Thu, 22 Feb 2024 19:23:16 +0100 Subject: [PATCH] virtme-ng-init: print a hint to exit from virtme-ng Print a hint to use CTRL+d to exit from the current virtme-ng session and go back to the host. Signed-off-by: Andrea Righi --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 19e4949..bb8c3eb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -976,7 +976,8 @@ fn print_logo() { \_/ |_|_| \__|_| |_| |_|\___| |_| |_|\__ | |___/"#; println!("{}", logo.trim_start_matches('\n')); - println!(" kernel version: {}\n", get_kernel_version(true)); + println!(" kernel version: {}", get_kernel_version(true)); + println!(" (CTRL+d to exit)\n"); } fn main() {