nspawn, vmspawn: honor the new window title switch

This commit is contained in:
Mantas Mikulėnas
2024-06-25 10:39:15 +03:00
parent 27a2513013
commit 0bdaa99827
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -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: