Skip to content

Commit

Permalink
test: log distro shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
nzbr committed Dec 10, 2024
1 parent 88fa90c commit 49b4afd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/lib/lib.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class Distro {
}

[void]Shutdown() {
Write-Host "> [shutdown]"
& wsl.exe -t $this.id
if ($LASTEXITCODE -ne 0) {
throw "Failed to stop distro"
Expand Down

0 comments on commit 49b4afd

Please sign in to comment.