This matches LibvirtTool.
Signed-off-by: Francois Gouget fgouget@codeweavers.com --- I believe a reason was added to LibvirtTool because the (some?) Windows server editions require a shutdown reason, even if it is a dummy one. I don't know if the same is true for reboots. SetWinLocale has probably not been used on the Windows server editions so far.
testbot/bin/SetWinLocale | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/bin/SetWinLocale b/testbot/bin/SetWinLocale index dc551853af..818a67b31d 100755 --- a/testbot/bin/SetWinLocale +++ b/testbot/bin/SetWinLocale @@ -900,7 +900,7 @@ SetWinLocales($OptSysCopy, $OptDefCopy, $OptLocale, $CountryId,
if ($OptReboot) { - my $Cmd = ["shutdown.exe", "/r", "/t", "0"]; + my $Cmd = ["shutdown.exe", "/r", "/d", "00:00", "/t", "0"]; Debug(Elapsed($Start), " Rebooting: ", join(" ", @$Cmd), "\n"); my $OldCount = $TA->GetProperties("start.count"); $TA->Run($Cmd, 0);