Skip to content

Commit

Permalink
virtme-ng-init: print a hint to exit from virtme-ng
Browse files Browse the repository at this point in the history
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 <andrea.righi@canonical.com>
  • Loading branch information
Andrea Righi committed Feb 22, 2024
1 parent a0d6fee commit c4bad3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit c4bad3d

Please sign in to comment.