mirror of
https://github.com/systemd/systemd.git
synced 2025-01-21 22:04:01 +03:00
nspawn, vmspawn: honor the new window title switch
This commit is contained in:
parent
27a2513013
commit
0bdaa99827
@ -5562,7 +5562,8 @@ static int run_container(
|
||||
} else if (!isempty(arg_background))
|
||||
(void) pty_forward_set_background_color(forward, arg_background);
|
||||
|
||||
set_window_title(forward);
|
||||
if (shall_set_terminal_title())
|
||||
set_window_title(forward);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -2141,7 +2141,8 @@ static int run_virtual_machine(int kvm_device_fd, int vhost_device_fd) {
|
||||
} else if (!isempty(arg_background))
|
||||
(void) pty_forward_set_background_color(forward, arg_background);
|
||||
|
||||
set_window_title(forward);
|
||||
if (shall_set_terminal_title())
|
||||
set_window_title(forward);
|
||||
}
|
||||
|
||||
r = sd_event_loop(event);
|
||||
|
Loading…
x
Reference in New Issue
Block a user