3
0
Fork 0
forked from mirrors/nixpkgs

Test driver: Don't wait for a reply after issuing "poweroff"

This commit is contained in:
Eelco Dolstra 2012-10-30 17:01:21 +01:00
parent bcdc71ddae
commit e5d4524dda

View file

@ -434,7 +434,7 @@ sub shutdown {
my ($self) = @_; my ($self) = @_;
return unless $self->{booted}; return unless $self->{booted};
$self->execute("poweroff"); print { $self->{socket} } ("poweroff\n");
$self->waitForShutdown; $self->waitForShutdown;
} }