diff options
Diffstat (limited to 'nixos/tests/xss-lock.nix')
-rw-r--r-- | nixos/tests/xss-lock.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/xss-lock.nix b/nixos/tests/xss-lock.nix index 3e3864cab7701..045667bdcdec0 100644 --- a/nixos/tests/xss-lock.nix +++ b/nixos/tests/xss-lock.nix @@ -20,6 +20,6 @@ with lib; $machine->fail("pgrep xlock"); $machine->succeed("su -l alice -c 'xset dpms force standby'"); - $machine->succeed("pgrep xlock"); + $machine->waitUntilSucceeds("pgrep xlock"); ''; }) |