Refactor: Finish up X server boot process refactor

This commit is contained in:
Gijs Burghoorn 2023-03-30 19:44:03 +02:00
parent f9c20fb7a1
commit b6b9b5d7a3

View file

@ -173,14 +173,14 @@ pub fn setup_x(
if let Some(mut stdout) = child.stdout.take() {
let mut buf = String::new();
if let Ok(_) = stdout.read_to_string(&mut buf) {
if stdout.read_to_string(&mut buf).is_ok() {
error!("X server STDOUT: '''\n{buf}\n'''");
}
}
if let Some(mut stdout) = child.stdout.take() {
let mut buf = String::new();
if let Ok(_) = stdout.read_to_string(&mut buf) {
if stdout.read_to_string(&mut buf).is_ok() {
error!("X server STDERR: '''\n{buf}\n'''");
}
}