mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
journalctl no longer parses the flag "-bu"
This commit is contained in:
parent
eeb32fd82b
commit
f0a9703f77
@ -495,7 +495,7 @@ sub waitForX {
|
||||
my ($self, $regexp) = @_;
|
||||
$self->nest("waiting for the X11 server", sub {
|
||||
retry sub {
|
||||
my ($status, $out) = $self->execute("journalctl -bu systemd-logind | grep Linked");
|
||||
my ($status, $out) = $self->execute("journalctl -b -u systemd-logind | grep Linked");
|
||||
return 0 if $status != 0;
|
||||
($status, $out) = $self->execute("xwininfo -root > /dev/null 2>&1");
|
||||
return 1 if $status == 0;
|
||||
|
Loading…
Reference in New Issue
Block a user