mirror of
https://github.com/coastalwhite/lemurs
synced 2024-11-26 12:00:17 +00:00
Refactor: Finish up X server boot process refactor
This commit is contained in:
parent
f9c20fb7a1
commit
b6b9b5d7a3
1 changed files with 2 additions and 2 deletions
|
@ -173,14 +173,14 @@ pub fn setup_x(
|
||||||
|
|
||||||
if let Some(mut stdout) = child.stdout.take() {
|
if let Some(mut stdout) = child.stdout.take() {
|
||||||
let mut buf = String::new();
|
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'''");
|
error!("X server STDOUT: '''\n{buf}\n'''");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(mut stdout) = child.stdout.take() {
|
if let Some(mut stdout) = child.stdout.take() {
|
||||||
let mut buf = String::new();
|
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'''");
|
error!("X server STDERR: '''\n{buf}\n'''");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue