[Tools] testbot/LibvirtTool: PowerOff() no longer takes a NoStatus parameter.

Francois Gouget <[email protected]>
Newsgroups gmane.comp.emulators.wine.patches
Message-ID <E1e6dov-0003F9-GG@amboise>
NoStatus=1 has been made the default so this is a no-op.

Signed-off-by: Francois Gouget <[email protected]>
---
 testbot/bin/LibvirtTool.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/bin/LibvirtTool.pl b/testbot/bin/LibvirtTool.pl
index 51f03b42..937821f6 100755
--- a/testbot/bin/LibvirtTool.pl
+++ b/testbot/bin/LibvirtTool.pl
@@ -280,7 +280,7 @@ sub Monitor()
     my $IsPoweredOn = $VM->GetDomain()->IsPoweredOn();
     if ($IsPoweredOn)
     {
-      my $ErrMessage = $VM->GetDomain()->PowerOff(1);
+      my $ErrMessage = $VM->GetDomain()->PowerOff();
       if (defined $ErrMessage)
       {
         Error "$ErrMessage\n";
-- 
2.14.2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.