diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-19 16:49:29 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-19 16:49:29 +0100 |
commit | a31a2f082f26785967d8cb302ca940e76d513ac6 (patch) | |
tree | 040b2c2772fd83e28d4bf56bb0ad5f5f2940decc /source4/selftest/target | |
parent | d3e182098a69a20035ee5eb0e9ab453dfdcb9c8b (diff) | |
download | samba-a31a2f082f26785967d8cb302ca940e76d513ac6.tar.gz samba-a31a2f082f26785967d8cb302ca940e76d513ac6.tar.bz2 samba-a31a2f082f26785967d8cb302ca940e76d513ac6.zip |
Allow connecting to screen.
(This used to be commit a021408c9d78260b9abf7ebec4230b7958033a38)
Diffstat (limited to 'source4/selftest/target')
-rw-r--r-- | source4/selftest/target/Kvm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/selftest/target/Kvm.pm b/source4/selftest/target/Kvm.pm index 1037f23c59..7799cb7ec0 100644 --- a/source4/selftest/target/Kvm.pm +++ b/source4/selftest/target/Kvm.pm @@ -99,7 +99,7 @@ sub start($$$) my $pidfile = "$path/kvm.pid"; - my $opts = ($ENV{KVM_OPTIONS} or "-nographic"); + my $opts = (defined($ENV{KVM_OPTIONS})?$ENV{KVM_OPTIONS}:"-nographic"); my ($ifup_script, $dhcpd_pidfile, $ip_address) = $self->write_kvm_ifup($path, "192.168.9"); |