summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-03-18 14:10:31 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-03-18 14:10:31 +0100
commitde57c0eb661fa670912f13f367c5d6f891129322 (patch)
tree34b47eee4bc56820befb6096d231090c6c9fc352 /nixos
parent01fc3e5153e0dd3dea3318f52bd52bdc0a1e11d0 (diff)
downloadnixpkgs-de57c0eb661fa670912f13f367c5d6f891129322.tar
nixpkgs-de57c0eb661fa670912f13f367c5d6f891129322.tar.gz
nixpkgs-de57c0eb661fa670912f13f367c5d6f891129322.tar.bz2
nixpkgs-de57c0eb661fa670912f13f367c5d6f891129322.tar.lz
nixpkgs-de57c0eb661fa670912f13f367c5d6f891129322.tar.xz
nixpkgs-de57c0eb661fa670912f13f367c5d6f891129322.tar.zst
nixpkgs-de57c0eb661fa670912f13f367c5d6f891129322.zip
Shut up Perl warning
Diffstat (limited to 'nixos')
-rw-r--r--nixos/lib/test-driver/Machine.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/lib/test-driver/Machine.pm b/nixos/lib/test-driver/Machine.pm
index 8bef3d67b8d..99810f87750 100644
--- a/nixos/lib/test-driver/Machine.pm
+++ b/nixos/lib/test-driver/Machine.pm
@@ -497,7 +497,7 @@ sub waitForX {
         retry sub {
             my ($status, $out) = $self->execute("journalctl -bu systemd-logind | grep Linked");
             return 0 if $status != 0;
-            my ($status, $out) = $self->execute("xwininfo -root > /dev/null 2>&1");
+            ($status, $out) = $self->execute("xwininfo -root > /dev/null 2>&1");
             return 1 if $status == 0;
         }
     });